Skip to content

Commit

Permalink
chore(ci): use new make snapshot rule
Browse files Browse the repository at this point in the history
This also removes INSTANCE_TYPE from the snapshot workflow, as it is
expected to be not so resource intensive now.
  • Loading branch information
geyslan committed Dec 18, 2024
1 parent 7e3eab7 commit 1517687
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
runs-on:
- graas_ami-0cdf7ad6d9627da45_${{ github.event.number }}${{ github.run_attempt }}-${{ github.run_id }}
- EXECUTION_TYPE=LONG
- INSTANCE_TYPE=2XLARGE
permissions:
contents: read
packages: write
Expand All @@ -39,7 +38,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
run: |
make -f builder/Makefile.release SNAPSHOT=1
make -f builder/Makefile.release snapshot
- name: Scan Docker Image for Vulnerabilities
uses: aquasecurity/trivy-action@master
with:
Expand All @@ -61,7 +60,6 @@ jobs:
runs-on:
- graas_ami-07740487fa433aa54_${{ github.event.number }}${{ github.run_attempt }}-${{ github.run_id }}
- EXECUTION_TYPE=LONG
- INSTANCE_TYPE=LARGE
permissions:
contents: read
packages: write
Expand All @@ -83,7 +81,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
run: |
make -f builder/Makefile.release SNAPSHOT=1
make -f builder/Makefile.release snapshot
- name: Scan Docker Image for Vulnerabilities
uses: aquasecurity/trivy-action@master
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
run: |
make -f builder/Makefile.release
make -f builder/Makefile.release release
shell: bash
- name: Publish to docker.io registry
run: |
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
run: |
make -f builder/Makefile.release
make -f builder/Makefile.release release
shell: bash
- name: Publish to docker.io registry
run: |
Expand Down

0 comments on commit 1517687

Please sign in to comment.