Skip to content

Commit

Permalink
Update GHCR-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
theslash84 authored Mar 29, 2024
1 parent 015ad31 commit e68c31f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/GHCR-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:

- name: Build Docker image with specific tag
run: |
echo "Image name: ghcr.io/${{ env.REPO_OWNER }}/ghcr-democicdapp:v.1.1.1"
docker build . -t ghcr.io/${{ env.REPO_OWNER }}/ghcr-democicdapp:v.1.1.1
echo "Image name: ghcr.io/${{ env.REPO_OWNER }}/ghcr-democicdapp:v.1.2.1"
docker build . -t ghcr.io/${{ env.REPO_OWNER }}/ghcr-democicdapp:v.1.2.1
- name: Push Docker image to GitHub Container Registry with tag v.1.1.1
run: docker push ghcr.io/${{ env.REPO_OWNER }}/ghcr-democicdapp:v.1.1.1
- name: Push Docker image to GitHub Container Registry with tag v.1.2.1
run: docker push ghcr.io/${{ env.REPO_OWNER }}/ghcr-democicdapp:v.1.2.1

# Optionally, you can also push the image with the commit SHA
- name: Tag and push Docker image with commit SHA
Expand Down

0 comments on commit e68c31f

Please # to comment.