Skip to content

Commit

Permalink
Merge pull request #24 from chensheng0/master
Browse files Browse the repository at this point in the history
upload artifact
  • Loading branch information
chensheng0 authored Jul 8, 2020
2 parents 993beae + 88e5a51 commit 3140996
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/image-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/image-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 3140996

Please sign in to comment.