Skip to content

Commit 287f865

Browse files
committed
Fixed docker image publish job (#7)
* Fixed image build and publish * Disabled multi-arch image testing
1 parent fc05690 commit 287f865

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/docker-image-push.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
- name: Checkout repository
2828
uses: actions/checkout@v2
2929

30-
- name: Set up Go
31-
uses: actions/setup-go@v2
32-
with:
33-
go-version: 1.17
34-
id: go
30+
- name: Set up QEMU
31+
uses: docker/setup-qemu-action@v2
32+
33+
- name: Set up Docker Buildx
34+
uses: docker/setup-buildx-action@v2
3535

3636
# Login against a Docker registry except on PR
3737
# https://github.com/docker/login-action
@@ -59,11 +59,10 @@ jobs:
5959
# Build and push Docker image with Buildx (don't push on PR)
6060
# https://github.com/docker/build-push-action
6161
- name: Build and push Docker image
62-
uses: docker/build-push-action@v2
62+
uses: docker/build-push-action@v4
6363
with:
6464
context: .
65-
build-args: |
66-
ARCH=amd64
65+
platforms: linux/amd64,linux/arm64
6766
push: ${{ github.event_name != 'pull_request' }}
6867
tags: ${{ steps.meta.outputs.tags }}
6968
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/staging-image-tester.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
go get -v -t -d ./...
3535
3636
- name: Test
37-
run: make build.image/multiarch
37+
run: make build.image

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ COPY go.sum .
2424
RUN go mod download
2525

2626
COPY . .
27+
RUN make build
2728

2829
FROM alpine:3.18
2930

charts/external-dns/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: external-dns
33
description: ExternalDNS synchronizes exposed Kubernetes Services and Ingresses with DNS providers.
44
type: application
5-
version: 1.13.0
6-
appVersion: 0.13.5-202300727-1700-adobe
5+
version: 1.13.0-20230727-1700-adobe
6+
appVersion: 0.13.5-20230727-1700-adobe
77
keywords:
88
- kubernetes
99
- externaldns

0 commit comments

Comments
 (0)