Skip to content

Commit

Permalink
build: modify workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMin5 committed Jan 19, 2024
1 parent 9eac5c6 commit b35530b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/dispatch_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
echo "SERVICE=$(echo ${{ github.repository }} | cut -d '/' -f2)" >> $GITHUB_ENV
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -124,16 +124,14 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}

- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
uses: docker/build-push-action@v5
with:
context: .
platforms: ${{ env.ARCH }}
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ env.VERSION }}
labels: ${{ steps.meta.outputs.labels }}

- name: Notice when job fails
Expand Down

0 comments on commit b35530b

Please sign in to comment.