Skip to content

Commit 949b82c

Browse files
authored
Fix container publication workflow (#12)
* Set permissions * Fix folder
1 parent 3084018 commit 949b82c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflow/cd.yaml renamed to .github/workflows/cd.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@ on:
1010
tags:
1111
- v[0-9]+.[0-9]+.[0-9]+
1212

13+
permissions:
14+
contents: read
15+
id-token: write
16+
1317
jobs:
1418
build-and-publish:
1519
name: Build and publish the container image
16-
uses: mozilla/remote-settings/actions/ingestion-job-publish@main
20+
uses: mozilla/remote-settings/.github/workflows/ingestion-job-publish.yaml@main
1721
with:
1822
# Publish `main` branch to `nonprod` and tags to `prod`
1923
realm: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && 'prod' || 'nonprod' }}

0 commit comments

Comments
 (0)