Update vmx-enabled Image (weekly) #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update vmx-enabled Image (weekly) | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 15 * * 0' | |
jobs: | |
update-neco-dev: | |
name: Update neco-dev project | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.21" | |
- uses: google-github-actions/auth@v1 | |
with: | |
credentials_json: ${{ secrets.NECO_DEV_SERVICE_ACCOUNT }} | |
- uses: google-github-actions/setup-gcloud@v1 | |
- run: make setup build-necogcp | |
- run: ./build/necogcp neco-test create-image --project-id neco-dev | |
update-neco-test: | |
name: Update neco-test project | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.21" | |
- uses: google-github-actions/auth@v1 | |
with: | |
credentials_json: ${{ secrets.NECO_TEST_SERVICE_ACCOUNT }} | |
- uses: google-github-actions/setup-gcloud@v1 | |
- run: make setup build-necogcp | |
- run: ./build/necogcp neco-test create-image |