Skip to content

Commit

Permalink
Merge pull request #1194 from ScilifelabDataCentre/update_actions
Browse files Browse the repository at this point in the history
Update action methods
  • Loading branch information
misterabdullahAziz authored Sep 27, 2024
2 parents d421dd7 + 27f2711 commit ba881dd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ jobs:
uses: actions/checkout@v4
# only needed when publishing to Github (ghcr.io)
- name: Log in to Github Container Repository
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
# will run as the user who triggered the action, using its token
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker Meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ matrix.images }}
tags: |
Expand All @@ -58,7 +58,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Build and Publish
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
file: ${{ matrix.dockerfile }}
context: .
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: Check broken links (htmltest)
on:
workflow_dispatch:
branches:
- develop
schedule:
- cron: '25 8 1-7 * 3'

Expand All @@ -17,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"

Expand All @@ -32,7 +30,7 @@ jobs:
config: .github/htmltest-config.yml

- name: Archive htmltest results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: htmltest-report
path: tmp/.htmltest/htmltest.log
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trivy-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
severity: 'CRITICAL,HIGH'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
category: trivy-branch
2 changes: 1 addition & 1 deletion .github/workflows/trivy-scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
severity: 'CRITICAL,HIGH'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
category: trivy-cron

0 comments on commit ba881dd

Please sign in to comment.