Skip to content

Commit

Permalink
Change dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Fagorym committed Oct 14, 2023
1 parent f73012b commit 2a96314
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Publish Docker image
on:
push:
branches:
- 'main'
- 'develop'
- "main"
- "develop"

jobs:
push_to_registry:
Expand All @@ -24,12 +24,21 @@ jobs:
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: my-docker-hub-namespace/my-docker-hub-repository
images: fagorym/business-service

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
image: tonistiigi/binfmt:latest

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

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/arm64

0 comments on commit 2a96314

Please sign in to comment.