Update docker.yml

This commit is contained in:
Ishaan Jaff 2023-12-02 15:43:10 -08:00 committed by GitHub
parent c02f222b20
commit 89e08e8288
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,12 @@ jobs:
echo "GHCR_TOKEN=${{ secrets.GHCR_TOKEN }}"
echo "REPO_NAME=${{ env.REPO_NAME }}"
echo "ACTOR=${{ github.actor }}"
- name: Build and push container image to registry
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/${{ env.REPO }}:${{ github.sha }}
file: ./Dockerfile`
- name: Build and release Docker images
uses: docker/build-push-action@v5
with:
@ -55,3 +60,4 @@ jobs:
${{ steps.tag.outputs.versioned }}
labels: ${{ steps.meta.outputs.labels }}
push: true