Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/_build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ jobs:
retention-days: 7

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Login to Docker Hub
if: inputs.push_image
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -130,15 +130,15 @@ jobs:
# Pushing the same image to multiple registries is free with buildx.
- name: Login to GHCR
if: inputs.push_image
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
# Listing two images here makes metadata-action emit tags for both
# registries; build-push-action will then push the same image to
Expand All @@ -159,7 +159,7 @@ jobs:

- name: Build image (PR — single-arch, load locally)
if: ${{ !inputs.push_image }}
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: ./src/
file: ${{ inputs.project_path }}/Dockerfile
Expand All @@ -174,7 +174,7 @@ jobs:
- name: Build & push image (main — multi-arch)
if: inputs.push_image
id: build_push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: ./src/
file: ${{ inputs.project_path }}/Dockerfile
Expand Down
Loading