Skip to content

Commit

Permalink
Update docker build action and add arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
felipejfc committed Feb 8, 2024
1 parent 198a339 commit 2e88023
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,21 @@ jobs:
with:
go-version: '1.17'
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to Docker Hub
uses: docker/build-push-action@v1
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: tfgco/eventsgateway
tag_with_ref: true
- name: Push to Docker Hub
uses: docker/build-push-action@v5
with:
push: true
tags: |
tfgco/eventsgateway:latest
tfgco/eventsgateway:${{ github.ref }}
platforms: linux/amd64,linux/arm64

0 comments on commit 2e88023

Please sign in to comment.