Skip to content

Commit

Permalink
Add login step to container registry in webapp workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Oct 21, 2024
1 parent 46bc095 commit 30c27f8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/webapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build container
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
context: ./webapp/
context: webapp/
file: ./webapp/Dockerfile
push: true
tags: "polder:dev"
tags: "polder:dev"

0 comments on commit 30c27f8

Please sign in to comment.