Skip to content

Commit

Permalink
chore: use Depot for multiarch build (#3071)
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 authored Nov 30, 2023
1 parent 43bcde7 commit 09c8f99
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/platform-docker-publish-all-features-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ env:
jobs:
build-dockerhub:
name: Platform Publish Docker Image
runs-on: self-hosted
runs-on: ubuntu-latest

permissions:
id-token: write
contents: read

steps:
- name: Cloning repo
Expand Down Expand Up @@ -84,11 +88,8 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- 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: Login to DockerHub
uses: docker/login-action@v2
Expand All @@ -98,10 +99,11 @@ jobs:

- name: Build and push images
id: docker_build
uses: docker/build-push-action@v3
uses: depot/build-push-action@v1
with:
platforms: linux/amd64,linux/arm64
file: Dockerfile
project: qsrts2l4gr
push: true
tags: ${{ steps.meta.outputs.tags }}
context: .
Expand Down

3 comments on commit 09c8f99

@vercel
Copy link

@vercel vercel bot commented on 09c8f99 Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 09c8f99 Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 09c8f99 Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs.flagsmith.com
docs-git-main-flagsmith.vercel.app
docs.bullet-train.io
docs-flagsmith.vercel.app

Please sign in to comment.