Skip to content

Commit

Permalink
add qemu and frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
zsteinkamp committed Mar 27, 2024
1 parent f3a06f1 commit f974f10
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
packages: write
#
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

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

Expand Down Expand Up @@ -69,6 +72,28 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

## FRONTEND CONTAINER
- name: frontend Docker meta
id: frontend_meta
uses: docker/metadata-action@v5
with:
images: |
${{ env.REGISTRY }}/zsteinkamp/${{ env.IMAGE_BASE }}-frontend
tags: |
type=ref,event=branch
type=sha
- name: frontend Build and push Docker image
uses: docker/build-push-action@v5
with:
context: frontend/
target: frontend
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.frontend_meta.outputs.tags }}
labels: ${{ steps.frontend_meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

## API CONTAINER
- name: api Docker meta
id: api_meta
Expand Down

0 comments on commit f974f10

Please sign in to comment.