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 committed Aug 4, 2023
1 parent fc05690 commit 287f865
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/docker-image-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
id: go
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

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

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
Expand Down 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
4 changes: 2 additions & 2 deletions charts/external-dns/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: external-dns
description: ExternalDNS synchronizes exposed Kubernetes Services and Ingresses with DNS providers.
type: application
version: 1.13.0
appVersion: 0.13.5-202300727-1700-adobe
version: 1.13.0-20230727-1700-adobe
appVersion: 0.13.5-20230727-1700-adobe
keywords:
- kubernetes
- externaldns
Expand Down

0 comments on commit 287f865

Please sign in to comment.