Skip to content

Update CHANGELOG.md

Update CHANGELOG.md #9

name: Deply to GitHub Container Registry
on: [ push ]

Check failure on line 2 in .github/workflows/container_image.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/container_image.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
branches: [ main ]
jobs:
publish-hello-docker-image:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the container image
run: |
docker build . --tag ghcr.io/deselikem/hello-docker-gcr-demo:latest
docker run ghcr.io/deselikem/hello-docker-gcr-demo:latest
docker push ghcr.io/deselikem/hello-docker-gcr-demo:latest