Skip to content

Commit

Permalink
chore: Update Github actions (#22)
Browse files Browse the repository at this point in the history
* chore: Update Github actions

Signed-off-by: Niccolò Fei <[email protected]>
Co-authored-by: Hai He <[email protected]>
  • Loading branch information
NiccoloFei and hh24k authored Oct 19, 2022
1 parent ea2d28b commit 887bfbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: docker/setup-buildx-action@v2
-
name: Log in to the GitHub Container registry
uses: docker/login-action@v2.1.0
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -70,7 +70,7 @@ jobs:
-
name: Docker meta
id: docker-meta
uses: docker/metadata-action@v4.1.0
uses: docker/metadata-action@v4
with:
# list of Docker images to use as base name for tags
images: "${{ steps.image-repo.outputs.images }}"
Expand All @@ -85,7 +85,7 @@ jobs:
org.opencontainers.image.licenses=PostgreSQL
-
name: Build and push
uses: docker/build-push-action@v3.2.0
uses: docker/build-push-action@v3
with:
platforms: ${{ steps.docker-platforms.outputs.platforms }}
context: .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ jobs:
uses: docker/setup-buildx-action@v2
-
name: Build and export to Docker
uses: docker/build-push-action@v3.2.0
uses: docker/build-push-action@v3
with:
context: .
load: true
push: false
tags: newimage
-
name: Dockle scan
uses: erzz/dockle-action@v1.3.1
uses: erzz/dockle-action@v1
with:
image: newimage
exit-code: '1'
Expand Down

0 comments on commit 887bfbd

Please sign in to comment.