-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2793 from Skgland/fix-ci
fix ci and update all used actions
- Loading branch information
Showing
3 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,17 +14,17 @@ jobs: | |
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
# Workaround: https://github.com/docker/build-push-action/issues/461 | ||
- name: Setup Docker buildx | ||
# https://github.com/docker/setup-buildx-action | ||
uses: docker/setup-buildx-action@v2.2.1 | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
# Login against Docker registry | ||
- name: Log into registry | ||
# https://github.com/docker/login-action | ||
uses: docker/login-action@v2.1.0 | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
@@ -35,7 +35,7 @@ jobs: | |
- name: Extract Docker metadata | ||
id: meta | ||
# https://github.com/docker/metadata-action | ||
uses: docker/metadata-action@v4.1.1 | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: docker.io/${{ secrets.DOCKERHUB_USERNAME }}/scryer-prolog | ||
tags: | | ||
|
@@ -47,7 +47,13 @@ jobs: | |
- name: Build and push Docker image | ||
id: build-and-push | ||
# https://github.com/docker/build-push-action | ||
uses: docker/[email protected] | ||
uses: docker/build-push-action@v6 | ||
# v4 adds SLSA Provenance attestation which is | ||
# - unsupported by AWS Lambda | ||
# - limited support by Google Cloud Run | ||
# > If deploying a multi-architecture image, the manifest list must include linux/amd64. | ||
# see https://github.com/docker/build-push-action/releases/tag/v4.0.0 | ||
# we might want to disable this if its a problem for someone | ||
with: | ||
context: . | ||
push: true | ||
|