Skip to content

Commit 09906fc

Browse files
authored
ci: nais/platform-build-push-sign midlertidig
1 parent 99dafb5 commit 09906fc

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/main.yaml

+8-3
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,18 @@ jobs:
3636
uses: gradle/actions/dependency-submission@94baf225fe0a508e581a564467443d0e2379123b # ratchet:gradle/actions/dependency-submission@v4
3737
- name: Build with Gradle
3838
run: ./gradlew clean wonderwalled-${{ matrix.module }}:build wonderwalled-${{ matrix.module }}:shadowJar
39-
- name: Build and push image and SBOM to OCI registry
40-
uses: nais/docker-build-push@v0
41-
id: docker-build-push
39+
- uses: nais/platform-build-push-sign@main # ratchet:exclude
40+
id: build_push_sign
4241
with:
4342
name: wonderwalled-${{ matrix.module }}
4443
context: ./wonderwalled-${{ matrix.module }}
4544
dockerfile: ./wonderwalled-${{ matrix.module }}/Dockerfile
45+
google_service_account: gh-wonderwalled
46+
multi-platform: true
47+
push: true
48+
workload_identity_provider: ${{ secrets.NAIS_IO_WORKLOAD_IDENTITY_PROVIDER }}
49+
- uses: nais/login@v0 # ratchet:exclude
50+
with:
4651
team: nais
4752
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} # Provided as Organization Secret
4853
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} # Provided as Organization Variable

0 commit comments

Comments
 (0)