Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #118 from dazoakley/update-actions
Browse files Browse the repository at this point in the history
Update the github actions versions
  • Loading branch information
dazoakley authored May 19, 2022
2 parents 83d63c1 + 9abb7c4 commit a8cb03a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
template: '@/contrib/sarif.tpl'
output: trivy-results.sarif
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: trivy-results.sarif

Expand All @@ -53,7 +53,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Cache Docker layers
uses: actions/[email protected]
with:
Expand All @@ -63,15 +63,15 @@ jobs:
${{ runner.os }}-buildx-
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: docker.io/dazoakley/bandiera
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
- name: Build and export to Docker
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
load: true
Expand All @@ -95,13 +95,13 @@ jobs:
severity: CRITICAL,HIGH
skip-dirs: /usr/local/lib/ruby/gems
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
if: startsWith(github.ref, 'refs/tags/')
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push to dockerhub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
if: startsWith(github.ref, 'refs/tags/')
with:
context: .
Expand Down

0 comments on commit a8cb03a

Please sign in to comment.