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 }}