Skip to content

Commit

Permalink
chore: Split release pipeline to avoid timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
fengye87 committed Jul 14, 2022
1 parent 5f1c96a commit 4ebf7cc
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,30 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true

- run: |
curl -sLo /tmp/skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64
chmod +x /tmp/skaffold
/tmp/skaffold render --default-repo=smartxworks --offline=true > virtink.yaml
- uses: softprops/action-gh-release@v1
with:
files: virtink.yaml

release_samples:
needs: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: docker/setup-qemu-action@v2

- uses: docker/setup-buildx-action@v2

- uses: docker/login-action@v2
with:
username: smartxrocks
password: ${{ secrets.DOCKERHUB_PUSH_TOKEN }}

- uses: docker/build-push-action@v2
with:
file: samples/Dockerfile.container-disk-ubuntu
Expand All @@ -87,12 +111,3 @@ jobs:
tags: smartxworks/virtink-container-rootfs-ubuntu
platforms: linux/amd64,linux/arm64
push: true

- run: |
curl -sLo /tmp/skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64
chmod +x /tmp/skaffold
/tmp/skaffold render --default-repo=smartxworks --offline=true > virtink.yaml
- uses: softprops/action-gh-release@v1
with:
files: virtink.yaml

0 comments on commit 4ebf7cc

Please sign in to comment.