Skip to content

Commit 07a93e2

Browse files
committed
fix: pin 1 unpinned action(s),extract 1 unsafe expression(s) to env vars
Automated security fixes applied by Runner Guard (https://github.com/Vigilant-LLC/runner-guard). Changes: .github/workflows/build-and-push-docker-image.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
1 parent cef2210 commit 07a93e2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-and-push-docker-image.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: Decide whether the needed jobs succeeded or failed
36-
uses: re-actors/alls-green@release/v1
36+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1
3737
with:
3838
jobs: ${{ toJSON(needs) }}
3939

@@ -73,8 +73,10 @@ jobs:
7373
DOCKER_TAG: ${{ inputs.tag || github.ref_name }}
7474
- name: Log in to GHCR
7575
run: >-
76-
echo ${{ secrets.GITHUB_TOKEN }} |
76+
echo "${GITHUB_TOKEN}" |
7777
docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
78+
env:
79+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7880
- name: Push Docker image to GHCR
7981
run: |
8082
docker push $IMAGE

0 commit comments

Comments
 (0)