File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636 steps :
3737 - name : Checkout repository
38- uses : actions/checkout@v5
38+ uses : actions/checkout@v6
3939
4040 # Install the cosign tool except on PR
4141 # https://github.com/sigstore/cosign-installer
@@ -45,13 +45,13 @@ jobs:
4545
4646 # Workaround: https://github.com/docker/build-push-action/issues/461
4747 - name : Setup Docker buildx
48- uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435
48+ uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
4949
5050 # Login against a Docker registry except on PR
5151 # https://github.com/docker/login-action
5252 - name : Log into registry ${{ env.REGISTRY }}
5353 if : github.event_name != 'pull_request'
54- uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef
54+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
5555 with :
5656 registry : ${{ env.REGISTRY }}
5757 username : ${{ github.actor }}
6161 # https://github.com/docker/metadata-action
6262 - name : Extract Docker metadata
6363 id : meta
64- uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804
64+ uses : docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051
6565 with :
6666 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6767
Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ jobs:
2323 # Steps represent a sequence of tasks that will be executed as part of the job
2424 steps :
2525 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26- - uses : actions/checkout@v5
26+ - uses : actions/checkout@v6
2727
2828 # Download test virii
2929 - name : Download EICAR test files
3030 run : |
3131 wget "https://secure.eicar.org/eicar.com.txt"
3232 wget "https://secure.eicar.org/eicar.com"
3333 wget "https://secure.eicar.org/eicar_com.zip"
34- wget "https://secure.eicar.org/eicarcom2.zip"
34+ wget "https://secure.eicar.org/eicarcom2.zip" || echo "eicarcom2.zip not available, skipping"
3535
3636 - name : Build image
3737 run : docker build -t gitavscan .
Original file line number Diff line number Diff line change 1- FROM alpine:3.23.2
1+ FROM alpine:3.23.3
22
33ENTRYPOINT ["/usr/bin/dumb-init" , "--" ]
44CMD ["/gitscan.sh" ]
You can’t perform that action at this time.
0 commit comments