mirror of
https://github.com/coredns/coredns.git
synced 2025-12-03 09:04:02 -05:00
Fix pinning of github actions (#5213)
It is recommended to pin github actions with hash so that an action is not posing an unknown security risk (as the actions itself is not written by us). Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
RELEASE: ${{ github.event.inputs.release || github.event.release.tag_name }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
|
||||
- name: Build Docker Images
|
||||
run: make VERSION=${RELEASE:1} DOCKER=coredns -f Makefile.docker release
|
||||
- name: Show Docker Images
|
||||
|
||||
Reference in New Issue
Block a user