Skip to content

Commit 8dd10df

Browse files
authored
Bump dependencies: checkout v6, alpine 3.23.3, docker actions (#212)
* Bump dependencies: checkout v6, alpine 3.23.3, docker actions Combined dependency updates: - actions/checkout v5 → v6 - alpine 3.23.2 → 3.23.3 - docker/setup-buildx-action 3.11.1 → 3.12.0 - docker/login-action 3.6.0 → 3.7.0 - docker/metadata-action 5.7.0 → 5.10.0 Supersedes: #203, #204, #207, #208, #209 * Fix test: make eicarcom2.zip download optional (404) --------- Co-authored-by: Ryan Trauntvein <djdefi@users.noreply.github.com>
1 parent 9d3b18f commit 8dd10df

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
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 }}
@@ -61,7 +61,7 @@ jobs:
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

.github/workflows/test-scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 .

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.23.2
1+
FROM alpine:3.23.3
22

33
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
44
CMD ["/gitscan.sh"]

0 commit comments

Comments
 (0)