From 88e5a5147be150253337befbeabb8d0c61a282af Mon Sep 17 00:00:00 2001 From: chensheng06 Date: Wed, 8 Jul 2020 09:45:22 +0800 Subject: [PATCH] upload artifact --- .github/workflows/image-develop.yml | 4 ++++ .github/workflows/image-release.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/image-develop.yml b/.github/workflows/image-develop.yml index 4d97f7bc..09ba8765 100644 --- a/.github/workflows/image-develop.yml +++ b/.github/workflows/image-develop.yml @@ -28,6 +28,10 @@ jobs: - name: build and publish image run: | make image PLATFORMS=all XFLAGS='--push --cache-to=type=local,dest=/tmp/main' REGISTRY=baetyltechtest/ + - uses: actions/upload-artifact@v1 + with: + name: baetyl-cloud + path: /tmp/main - name: docker login internal run: | docker login hub.baidubce.com -u ${{ secrets.DOCKER_REGISTRY_ID_INTERNAL }} -p ${{ secrets.DOCKER_REGISTRY_PASS_INTERNAL }} diff --git a/.github/workflows/image-release.yml b/.github/workflows/image-release.yml index 6c624ad1..7bec6c6f 100644 --- a/.github/workflows/image-release.yml +++ b/.github/workflows/image-release.yml @@ -31,6 +31,10 @@ jobs: - name: build and publish image run: | make image PLATFORMS=all XFLAGS='--push --cache-to=type=local,dest=/tmp/main' REGISTRY=baetyltech/ GIT_TAG=${{ steps.version.outputs.version }} + - uses: actions/upload-artifact@v1 + with: + name: baetyl-cloud + path: /tmp/main - name: docker login internal run: | docker login hub.baidubce.com -u ${{ secrets.DOCKER_REGISTRY_ID_INTERNAL }} -p ${{ secrets.DOCKER_REGISTRY_PASS_INTERNAL }}