Skip to content

Commit

Permalink
chore: update gh actions to use docker scout
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-fabian-pittroff committed Nov 8, 2024
1 parent e43414f commit b03db3c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
image-name: enshrouded-server
image-tag: dev-proton
dockerfile: dockerfiles/proton.Dockerfile
scan-category: proton
secrets:
CONTAINER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKER_TOKEN }}
Expand All @@ -31,6 +32,7 @@ jobs:
image-name: enshrouded-server
image-tag: dev-wine
dockerfile: dockerfiles/Dockerfile
scan-category: wine-stable
secrets:
CONTAINER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKER_TOKEN }}
Expand All @@ -40,6 +42,7 @@ jobs:
image-name: enshrouded-server
image-tag: dev-wine-staging
dockerfile: dockerfiles/Dockerfile
scan-category: wine-staging
build-args: |
WINE_BRANCH=staging
secrets:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker-scout-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ jobs:
uses: mornedhels/workflow-center-public/.github/workflows/docker-scout.yml@main
with:
image-name: enshrouded-server
scan-category: proton-latest
secrets:
DOCKERHUB_TOKEN: ${{ secrets.DOCKER_TOKEN }}
docker-scout-scan-dev:
uses: mornedhels/workflow-center-public/.github/workflows/docker-scout.yml@main
with:
image-name: enshrouded-server
image-tag: dev
scan-category: proton-dev
secrets:
DOCKERHUB_TOKEN: ${{ secrets.DOCKER_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
with:
image-name: enshrouded-server
dockerfile: dockerfiles/proton.Dockerfile
scan-category: proton-latest
image-tag: |
${{ github.event.release.tag_name }}
${{ github.event.release.tag_name }}-proton
Expand All @@ -25,6 +26,7 @@ jobs:
with:
image-name: enshrouded-server
dockerfile: dockerfiles/Dockerfile
scan-category: wine-stable-latest
image-tag: |
${{ github.event.release.tag_name }}-wine
stable-wine
Expand Down

0 comments on commit b03db3c

Please sign in to comment.