Skip to content

Commit 596158a

Browse files
committed
test
1 parent 86cd40c commit 596158a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/publish_container.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ env:
1616
jobs:
1717
build-and-push-image:
1818
runs-on: ubuntu-latest
19-
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
19+
permissions:
20+
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
2021
id-token: write
2122
contents: write
2223
packages: write
@@ -33,7 +34,7 @@ jobs:
3334
username: ${{ github.actor }}
3435
password: ${{ secrets.GITHUB_TOKEN }}
3536
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
36-
- name: Extract metadata (tadockgs, labels) for Docker
37+
- name: Extract metadata (tags, labels) for Docker
3738
id: meta
3839
uses: docker/metadata-action@v5
3940
with:
@@ -72,7 +73,7 @@ jobs:
7273
- name: Generate SBOM for the dev Docker image
7374
uses: anchore/sbom-action@v0
7475
with:
75-
path: ./
76+
path: ./
7677
output-file: sbom-image-latest.json
7778
- name: Upload sbom-image-latest.json to GitHub
7879
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)