Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Use Depot for build-push-action (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretthoerner authored Feb 7, 2024
1 parent fca80b0 commit 58d777f
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/docker-capture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docker-hook-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docker-hook-janitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docker-hook-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docker-migrator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions depot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id":"zcszdgwzsw"}

0 comments on commit 58d777f

Please sign in to comment.