Update docker-image.yml

This commit is contained in:
ga-ram 2023-04-17 16:20:57 +09:00 committed by GitHub
parent 58b503a6d5
commit 202be8b0aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -47,6 +47,10 @@ jobs:
uses: docker/metadata-action@v3 uses: docker/metadata-action@v3
with: with:
images: pinpointdocker/${{ inputs.component }} images: pinpointdocker/${{ inputs.component }}
flavor: |
latest=auto
prefix=
suffix=${{ inputs.tag_postfix }}
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
@ -55,7 +59,7 @@ jobs:
file: ./${{ inputs.component }}/${{ inputs.dockerfile }} file: ./${{ inputs.component }}/${{ inputs.dockerfile }}
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: ${{ steps.meta.outputs.tags }}${{ inputs.tag_postfix }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
- name: Update repo description - name: Update repo description