Skip to content

Commit

Permalink
add --force to PUSH_ARGS and docker/build-push-action@v6
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHenryThoreau committed Oct 24, 2024
1 parent 197bfdd commit ea34503
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set BUILD_TIME env
run: echo BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") >> ${GITHUB_ENV}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -49,7 +51,7 @@ jobs:
type=semver,pattern=release
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
# Optional merge arguments
MERGE_ARGS: ""
# Optional push arguments
PUSH_ARGS: "--tags"
PUSH_ARGS: "--tags --force"
# Optional toggle to spawn time logs (keeps action active)
SPAWN_LOGS: "false" # "true" or "false"

Expand Down

0 comments on commit ea34503

Please sign in to comment.