Skip to content

Commit

Permalink
feature/github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Wang committed Oct 14, 2024
1 parent dc11af7 commit a5e260c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gh_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
platforms: linux/amd64,linux/arm64 # Optional: multi-architecture support
push: true # Ensure the image is pushed
tags: |
ghcr.io/${{ github.repository_owner }}/demo:${{ github.sha }}
ghcr.io/${{ github.repository_owner }}/demo:latest
ghcr.io/${{ github.repository_owner }}/abc:${{ github.sha }}
ghcr.io/${{ github.repository_owner }}/abc:latest
cache-from: type=gha
cache-to: type=gha,mode=max

# Optionally, list the images after pushing
- name: Verify pushed images
run: |
docker images ghcr.io/${{ github.repository_owner }}/demo
docker images ghcr.io/${{ github.repository_owner }}/abc

0 comments on commit a5e260c

Please sign in to comment.