Skip to content

Commit

Permalink
fix: workflow build docker image
Browse files Browse the repository at this point in the history
Signed-off-by: MicroOps <[email protected]>
  • Loading branch information
MicroOps-cn committed Oct 30, 2024
1 parent 513bb64 commit 928767d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/github-actions-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{major}}.{{minor}}.{{sha}}
type=sha,prefix={{branch}}-
- name: Get GeoLite2-City.mmdb
run: |
wget -O docker/GeoLite2-City.mmdb.gz -c "https://cdn.jsdelivr.net/npm/[email protected]/GeoLite2-City.mmdb.gz"
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{major}}.{{minor}}.{{sha}}
type=sha,prefix={{branch}}-
- name: Create manifest list and push
working-directory: /tmp/digests
Expand All @@ -183,4 +183,5 @@ jobs:
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}
docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}
- name: clear image

0 comments on commit 928767d

Please sign in to comment.