chore: update Docker build action to v6 and modify image tagging format

This commit is contained in:
sunbk201 2024-11-14 00:37:54 +08:00
parent 92cddf8b12
commit aa5926a606

View File

@ -28,7 +28,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker images - name: Build and push Docker images
uses: docker/build-push-action@v4 uses: docker/build-push-action@v6
with: with:
context: . context: .
push: true push: true
@ -44,4 +44,4 @@ jobs:
windows/arm64, windows/arm64,
darwin/amd64, darwin/amd64,
darwin/arm64 darwin/arm64
tags: sunbk201/ua3f:${{ github.ref }} tags: ${{ github.repository }}:latest, ${{ github.repository }}:${{ github.ref_name }}