diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index ae1bb05..6d8150f 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -47,13 +47,13 @@ jobs: - name: Build Image env: - IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }} + IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }}:latest run: | - docker buildx build ./${{ matrix.image }} --tag docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }} --platform linux/amd64,linux/arm64 + docker buildx build --tag docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }} --platform linux/amd64,linux/arm64 ./${{ matrix.image }} - name: Push Image env: - IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }} + IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }}:latest run: | - docker tag $IMAGE_ID $IMAGE_ID:$VERSION - docker push $IMAGE_ID:$VERSION + docker tag $IMAGE_ID $IMAGE_ID + docker push $IMAGE_ID