Skip to content

Modern Docker Management, Designed for Everyone

chore: add docker build cloud for release and e2e tests

Kyle Mendell7a981ce1231c
diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml
index 5c651d4f7..95f4c4f54 100644
--- a/.github/workflows/e2e-tests.yml
+++ b/.github/workflows/e2e-tests.yml
@@ -33,8 +33,17 @@ jobs:
steps:
- uses: actions/checkout@v5
+ - name: Log in to Docker Hub
+ uses: docker/login-action@v3
+ with:
+ username: ${{ secrets.DOCKER_USER }}
+ password: ${{ secrets.DOCKER_PAT }}
+
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
+ with:
+ driver: cloud
+ endpoint: "kmendell/ofkm"
- name: Build and export Arcane image
uses: docker/build-push-action@v6
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ab93c9c2f..01b1d4369 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- - 'v*.*.*'
+ - "v*.*.*"
permissions:
contents: write
@@ -55,7 +55,7 @@ jobs:
- name: Binary attestation
uses: actions/attest-build-provenance@v3
with:
- subject-path: 'backend/.bin/*'
+ subject-path: "backend/.bin/*"
- name: Upload binaries to release
env:
@@ -70,7 +70,17 @@ jobs:
- uses: actions/checkout@v5
with: { fetch-depth: 1 }
- uses: docker/setup-qemu-action@v3
- - uses: docker/setup-buildx-action@v3
+ - name: Log in to Docker Hub
+ uses: docker/login-action@v3
+ with:
+ username: ${{ secrets.DOCKER_USER }}
+ password: ${{ secrets.DOCKER_PAT }}
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v3
+ with:
+ driver: cloud
+ endpoint: "kmendell/ofkm"
- name: Lowercase image name
run: echo "DOCKER_IMAGE_NAME=${DOCKER_IMAGE_NAME,,}" >> "$GITHUB_ENV"
- uses: docker/login-action@v3
@@ -106,7 +116,17 @@ jobs:
- uses: actions/checkout@v5
with: { fetch-depth: 1 }
- uses: docker/setup-qemu-action@v3
- - uses: docker/setup-buildx-action@v3
+ - name: Log in to Docker Hub
+ uses: docker/login-action@v3
+ with:
+ username: ${{ secrets.DOCKER_USER }}
+ password: ${{ secrets.DOCKER_PAT }}
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v3
+ with:
+ driver: cloud
+ endpoint: "kmendell/ofkm"
- name: Lowercase image name
run: echo "AGENT_IMAGE_NAME=${AGENT_IMAGE_NAME,,}" >> "$GITHUB_ENV"
- uses: docker/login-action@v3