Skip to content
Open
Show file tree
Hide file tree
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
22 changes: 11 additions & 11 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,39 +31,39 @@ jobs:

services:
registry:
image: registry:2
image: registry:3
ports:
- 5000:5000

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
# with:
# platforms: all

# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@v3.8.1
uses: sigstore/cosign-installer@v4.1.0
- name: Check Cosign Version
if: github.event_name != 'pull_request'
run: cosign version

# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
with:
driver-opts: network=host

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -73,15 +73,15 @@ jobs:
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and export container to Docker
id: docker-build
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
platforms: linux/amd64,linux/arm64
Expand All @@ -93,7 +93,7 @@ jobs:

- name: Build and export nx consumer test container to Docker
id: docker-build-nx-consumer
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: ./test-nx
platforms: linux/amd64
Expand All @@ -104,7 +104,7 @@ jobs:
cache-to: type=gha,mode=max
- name: Build and export app consumer test container to Docker
id: docker-build-app-consumer
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: ./test-app
platforms: linux/amd64
Expand All @@ -123,7 +123,7 @@ jobs:

- name: Push
id: docker-push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
python 3.12.9
nodejs 22.14.0
nodejs 24.14.1
Loading
Loading