From 58d777ff9c7bb196350b6dad53711eaefc2a4654 Mon Sep 17 00:00:00 2001 From: Brett Hoerner Date: Wed, 7 Feb 2024 07:50:09 -0700 Subject: [PATCH] Use Depot for build-push-action (#6) --- .github/workflows/docker-capture.yml | 5 ++++- .github/workflows/docker-hook-api.yml | 5 ++++- .github/workflows/docker-hook-janitor.yml | 5 ++++- .github/workflows/docker-hook-worker.yml | 5 ++++- .github/workflows/docker-migrator.yml | 5 ++++- depot.json | 1 + 6 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 depot.json diff --git a/.github/workflows/docker-capture.yml b/.github/workflows/docker-capture.yml index c810709..d158b39 100644 --- a/.github/workflows/docker-capture.yml +++ b/.github/workflows/docker-capture.yml @@ -17,6 +17,9 @@ jobs: - name: Check Out Repo uses: actions/checkout@v3 + - name: Set up Depot CLI + uses: depot/setup-action@v1 + - name: Login to DockerHub uses: docker/login-action@v2 with: @@ -51,7 +54,7 @@ jobs: - name: Build and push capture id: docker_build_capture - uses: docker/build-push-action@v4 + uses: depot/build-push-action@v4 with: context: ./ file: ./Dockerfile diff --git a/.github/workflows/docker-hook-api.yml b/.github/workflows/docker-hook-api.yml index eba5b31..efc5736 100644 --- a/.github/workflows/docker-hook-api.yml +++ b/.github/workflows/docker-hook-api.yml @@ -17,6 +17,9 @@ jobs: - name: Check Out Repo uses: actions/checkout@v3 + - name: Set up Depot CLI + uses: depot/setup-action@v1 + - name: Login to DockerHub uses: docker/login-action@v2 with: @@ -51,7 +54,7 @@ jobs: - name: Build and push api id: docker_build_hook_api - uses: docker/build-push-action@v4 + uses: depot/build-push-action@v4 with: context: ./ file: ./Dockerfile diff --git a/.github/workflows/docker-hook-janitor.yml b/.github/workflows/docker-hook-janitor.yml index 5a362aa..ee44205 100644 --- a/.github/workflows/docker-hook-janitor.yml +++ b/.github/workflows/docker-hook-janitor.yml @@ -17,6 +17,9 @@ jobs: - name: Check Out Repo uses: actions/checkout@v3 + - name: Set up Depot CLI + uses: depot/setup-action@v1 + - name: Login to DockerHub uses: docker/login-action@v2 with: @@ -51,7 +54,7 @@ jobs: - name: Build and push janitor id: docker_build_hook_janitor - uses: docker/build-push-action@v4 + uses: depot/build-push-action@v4 with: context: ./ file: ./Dockerfile diff --git a/.github/workflows/docker-hook-worker.yml b/.github/workflows/docker-hook-worker.yml index 808bcd4..940a36c 100644 --- a/.github/workflows/docker-hook-worker.yml +++ b/.github/workflows/docker-hook-worker.yml @@ -17,6 +17,9 @@ jobs: - name: Check Out Repo uses: actions/checkout@v3 + - name: Set up Depot CLI + uses: depot/setup-action@v1 + - name: Login to DockerHub uses: docker/login-action@v2 with: @@ -51,7 +54,7 @@ jobs: - name: Build and push worker id: docker_build_hook_worker - uses: docker/build-push-action@v4 + uses: depot/build-push-action@v4 with: context: ./ file: ./Dockerfile diff --git a/.github/workflows/docker-migrator.yml b/.github/workflows/docker-migrator.yml index a7880d1..91e34a4 100644 --- a/.github/workflows/docker-migrator.yml +++ b/.github/workflows/docker-migrator.yml @@ -17,6 +17,9 @@ jobs: - name: Check Out Repo uses: actions/checkout@v3 + - name: Set up Depot CLI + uses: depot/setup-action@v1 + - name: Login to DockerHub uses: docker/login-action@v2 with: @@ -51,7 +54,7 @@ jobs: - name: Build and push migrator id: docker_build_hook_migrator - uses: docker/build-push-action@v4 + uses: depot/build-push-action@v4 with: context: ./ file: ./Dockerfile.migrate diff --git a/depot.json b/depot.json new file mode 100644 index 0000000..ea625b4 --- /dev/null +++ b/depot.json @@ -0,0 +1 @@ +{"id":"zcszdgwzsw"}