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
18 changes: 9 additions & 9 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
with:
platforms: all
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
with:
buildkitd-flags: "--debug"
- name: Generate tags
Expand Down Expand Up @@ -113,28 +113,28 @@ jobs:
fi
- name: Login to GitHub Container Registry
if: ${{ inputs.push_ghcr == true }}
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Dockerhub Registry
if: ${{ inputs.push_ghcr == true || inputs.push_dockerhub == true }}
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to DHI Registry
if: ${{ inputs.pull_dhi == true }}
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: dhi.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# Case 1: Only GHCR enabled
- name: Build and push image to GHCR only
if: ${{ inputs.push_ghcr == true && inputs.push_dockerhub == false }}
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
Expand All @@ -158,7 +158,7 @@ jobs:
# Case 2: Only DockerHub enabled
- name: Build and push image to DockerHub only
if: ${{ inputs.push_ghcr == false && inputs.push_dockerhub == true }}
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
Expand All @@ -182,7 +182,7 @@ jobs:
# Case 3: Both GHCR and DockerHub enabled
- name: Build and push image to both GHCR and DockerHub
if: ${{ inputs.push_ghcr == true && inputs.push_dockerhub == true }}
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
Expand All @@ -209,7 +209,7 @@ jobs:
# Case 4: Build only
- name: Build only
if: ${{ inputs.push_ghcr == false && inputs.push_dockerhub == false }}
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/synchronise-pr-version-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
fi
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.bot-id }}
private-key: ${{ secrets.bot-key }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests-e2e-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,19 @@ jobs:
node-version: ${{ inputs.node_version }}
- name: Login to GitHub Container Registry
if: ${{ inputs.pull_ghcr == true }}
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
with:
buildkitd-flags: "--debug"
if: inputs.docker_compose_file != ''
- name: Build e2e containers
uses: docker/bake-action@v6
uses: docker/bake-action@v7
with:
builder: ${{ steps.buildx.outputs.name }}
files: ${{ inputs.docker_compose_file }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
run: touch .env
- name: Login to GitHub Container Registry
if: ${{ inputs.pull_ghcr == true }}
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down