Skip to content

Commit

Permalink
Update docker/build-push-action action to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and Zoey2936 committed Jun 17, 2024
1 parent 1352514 commit 56e0a45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
username: ${{ steps.un.outputs.un }}
password: ${{ github.token }}
- name: Build cloudflared
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
if: ${{ github.event_name != 'pull_request' }}
with:
context: .
Expand All @@ -63,7 +63,7 @@ jobs:
docker buildx imagetools create --tag ${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ steps.version.outputs.version }} ${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ github.ref_name }}
docker buildx imagetools create --tag ghcr.io/${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ steps.version.outputs.version }} ghcr.io/${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ github.ref_name }}
- name: Build cloudflared-dns
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
if: ${{ github.event_name != 'pull_request' }}
with:
context: .
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
id: pr
run: echo "pr=$(echo pr-${{ github.ref_name }} | sed "s|refs/pull/:||g" | sed "s|/merge||g")" >> $GITHUB_OUTPUT
- name: Build cloudflared (PR)
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
if: ${{ github.event_name == 'pull_request' }}
with:
context: .
Expand All @@ -107,7 +107,7 @@ jobs:
push: ${{ github.event_name == 'pull_request' }}
tags: ghcr.io/${{ steps.un.outputs.un }}/${{ github.event.repository.name }}:${{ steps.pr.outputs.pr }}
- name: Build cloudflared-dns (PR)
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
if: ${{ github.event_name == 'pull_request' }}
with:
context: .
Expand Down

0 comments on commit 56e0a45

Please sign in to comment.