Skip to content

Commit

Permalink
Fixed docker image publish job (#7)
Browse files Browse the repository at this point in the history
* Fixed image build and publish
* Disabled multi-arch image testing
  • Loading branch information
azun authored Aug 3, 2023
1 parent fc05690 commit a9a6bb7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-image-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@ jobs:
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
build-args: |
ARCH=amd64
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
2 changes: 1 addition & 1 deletion .github/workflows/staging-image-tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
go get -v -t -d ./...
- name: Test
run: make build.image/multiarch
run: make build.image
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ COPY go.sum .
RUN go mod download

COPY . .
RUN make build

FROM alpine:3.18

Expand Down

0 comments on commit a9a6bb7

Please sign in to comment.