From ba07ec61f3da8c8a72497916d31c70a71b7d9dc2 Mon Sep 17 00:00:00 2001 From: mjysci Date: Mon, 28 Dec 2020 06:13:44 +0800 Subject: [PATCH] :whale: Fixed Docker Image CI - Rpi (#1275) --- .github/workflows/docker-images-rpi.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-images-rpi.yml b/.github/workflows/docker-images-rpi.yml index e2990e0d2c..155fd61158 100644 --- a/.github/workflows/docker-images-rpi.yml +++ b/.github/workflows/docker-images-rpi.yml @@ -26,8 +26,9 @@ jobs: - name: Run Buildx (push image) if: success() run: | - docker buildx build --platform linux/arm/v7 --build-arg N8N_VERSION=${{steps.vars.outputs.tag}} -t n8nio/n8n:${{steps.vars.outputs.tag}}-rpi --output type=image,push=true docker/images/n8n-rpi - - name: Tag Docker image with latest - run: docker tag n8nio/n8n:${{steps.vars.outputs.tag}}-rpi n8nio/n8n:latest-rpi - - name: Push docker images of latest - run: docker push n8nio/n8n:latest-rpi + docker buildx build \ + --platform linux/arm/v7 \ + --build-arg N8N_VERSION=${{steps.vars.outputs.tag}} \ + -t ${{ secrets.DOCKER_USERNAME }}/n8n:${{steps.vars.outputs.tag}}-rpi \ + -t ${{ secrets.DOCKER_USERNAME }}/n8n:latest-rpi \ + --output type=image,push=true docker/images/n8n-rpi