Skip to content

Updating username

Updating username #5

Workflow file for this run

name: Build and Push Docker Image to GHCR
on:
push:
branches:
- main
- feature-nullaway
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/pragatisukhija/nullaway-sandbox:latest
- name: Verify image
run: |
docker pull ghcr.io/pragatisukhija/nullaway-sandbox:latest