From d0403038ede41f9613ed3d010bbeb0d3491fa608 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Tue, 30 Mar 2021 11:04:36 +0200 Subject: [PATCH] Enable QEMU and Docker Buildx in release action Signed-off-by: Hidde Beydals --- .github/workflows/release.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3629109c..715fc10e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,6 +16,26 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.16.x + - name: Setup QEMU + uses: docker/setup-qemu-action@v1 + with: + platforms: all + - name: Setup Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v1 + with: + buildkitd-flags: "--debug" + - name: Login to GitHub Container Registry + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: fluxcdbot + password: ${{ secrets.GHCR_TOKEN }} + - name: Login to Docker Hub + uses: docker/login-action@v1 + with: + username: fluxcdbot + password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }} - name: Download release notes utility env: GH_REL_URL: https://github.com/buchanae/github-release-notes/releases/download/0.2.0/github-release-notes-linux-amd64-0.2.0.tar.gz