Skip to content

Commit

Permalink
Merge pull request #75 from getmetal/task/sp/try-depot
Browse files Browse the repository at this point in the history
Try depot for builds
  • Loading branch information
Czechh authored Aug 23, 2023
2 parents e40b1bd + a6f96a0 commit 91a1caa
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/publish_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@ jobs:
packages: write

steps:
- name: Checkout repository
- name: Checkout repo
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2


- name: Set up Depot CLI
uses: depot/setup-action@v1

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
Expand All @@ -37,12 +34,13 @@ jobs:
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@v2
- name: Build and push
uses: depot/build-push-action@v1
with:
context: .
project: wb79dhkl5q
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64

0 comments on commit 91a1caa

Please sign in to comment.