Skip to content

Commit

Permalink
fix: docker taghidd
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Nov 16, 2024
1 parent 3e79640 commit fe17948
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
needs:
- make-upload-docker
env:
LATEST: ${{ endsWith(inputs.tag-name , 'dev') && 'beta' ||'latest'}}
LATEST: ${{ endsWith(github.ref_name , 'dev') && 'beta' ||'latest'}}
steps:
- name: Download digests
uses: actions/download-artifact@v4
Expand All @@ -93,10 +93,10 @@ jobs:
run: |
docker buildx imagetools create \
-t "${{ env.REGISTRY_IMAGE }}:${{ env.LATEST }}" \
-t "${{ env.REGISTRY_IMAGE }}:${{ inputs.tag-name }}" \
-t "${{ env.REGISTRY_IMAGE }}:${{ github.ref_name }}" \
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
- name: Inspect image

run: |
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ env.LATEST }}
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ inputs.tag-name }}
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ github.ref_name }}

0 comments on commit fe17948

Please sign in to comment.