Skip to content

Commit

Permalink
cleanup actions; prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
bitmeal committed Mar 21, 2022
1 parent d31b1a4 commit 3d17d82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,18 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
# allow step to fail; image will not be reused but be built locally
name: Fetch prebuilt base image
uses: actions/download-artifact@v2
continue-on-error: true
with:
name: fission_base_image
path: /tmp
-
# allow step to fail; image will not be reused but be built locally
name: Load prebuilt base image
continue-on-error: true
run: |
docker load --input /tmp/fission.tar
docker image ls -a
run: docker load --input /tmp/fission.tar
-
name: Build and push x64 image to ghcr.io
run: docker buildx build --push --tag "ghcr.io/bitmeal/fission:$([[ ${{ needs.prepare.outputs.tag }} == 'true' ]] && echo latest || echo edge)" $([[ ${{ needs.prepare.outputs.tag }} == 'true' ]] && echo "--tag ghcr.io/bitmeal/fission:${{ needs.prepare.outputs.version }}") .
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ jobs:
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
# allow step to fail; image will not be reused but be built locally
name: Fetch prebuilt base image
uses: actions/download-artifact@v2
continue-on-error: true
with:
name: fission_base_image
path: /tmp
-
# allow step to fail; image will not be reused but be built locally
name: Load prebuilt base image
continue-on-error: true
run: |
docker load --input /tmp/fission.tar
docker image ls -a
run: docker load --input /tmp/fission.tar
-
name: Run Tests
working-directory: test
Expand Down

0 comments on commit 3d17d82

Please sign in to comment.