fix pipeline

This commit is contained in:
Evelyn Alicke 2023-07-03 11:08:13 +02:00
parent 6d3d00b40d
commit 53c6f3cfe9
No known key found for this signature in database
GPG key ID: 6834780BDA479436

View file

@ -7,11 +7,22 @@ on:
types: [ published ]
jobs:
docker:
permissions: write-all
runs-on: ubuntu-latest
steps:
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ github.token }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: user/app:latest
platforms: linux/amd64
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ github.ref_name }}