Skip to content

Commit

Permalink
Merge pull request #91 from slovensko-digital/fix/ci
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
luciajanikova authored Feb 12, 2023
2 parents cef8bc3 + 7e25230 commit 5afa1e4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/slovensko_digital_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:

runs-on: ubuntu-latest

permissions: write-all

steps:
- uses: actions/checkout@v2
with:
Expand All @@ -64,13 +66,13 @@ jobs:
base=ghcr.io/${{github.repository}}
tags=$base:${head:1}$(if [[ $head == $latest ]]; then echo ",$base:latest"; fi)
echo "tags=$tags" >> $GITHUB_ENV
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{github.repository_owner}}
password: ${{secrets.CR_PAT}}
- uses: docker/build-push-action@v2
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- uses: docker/build-push-action@v4
with:
push: true
platforms: linux/amd64
Expand Down

0 comments on commit 5afa1e4

Please sign in to comment.