Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 0bd1d1b

Browse files
committed
update gh action
1 parent 14faf16 commit 0bd1d1b

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/build_docker_images.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v4
2727

2828
- name: Shell-Script
2929
id: script
@@ -37,48 +37,48 @@ jobs:
3737
#DOCKER_REPO=${{ secrets.DOCKER_USERNAME }}/${GITHUB_REPO_SHORT}
3838
#REDHAT_QUAY_REPO=${{ secrets.REDHAT_QUAY_USERNAME }}/${GITHUB_REPO_SHORT}
3939
40-
# Set output parameters to github action.
41-
echo ::set-output name=build_date::${BUILD_DATE}
42-
echo ::set-output name=build_date_numeric::${BUILD_DATE_NUMERIC}
43-
echo ::set-output name=commit_hash::${COMMIT_HASH}
44-
echo ::set-output name=github_repo::${GITHUB_REPO}
45-
#echo ::set-output name=docker_repo::${DOCKER_REPO}
46-
#echo ::set-output name=redhat_quay_repo::${REDHAT_QUAY_REPO}
40+
# Set output parameters to action.
41+
echo "build_date=${BUILD_DATE}" >> "$GITHUB_OUTPUT"
42+
echo "build_date_numeric=${BUILD_DATE_NUMERIC}" >> "$GITHUB_OUTPUT"
43+
echo "commit_hash=${COMMIT_HASH}" >> "$GITHUB_OUTPUT"
44+
echo "github_repo=${GITHUB_REPO}" >> "$GITHUB_OUTPUT"
45+
echo "docker_repo=${DOCKER_REPO}" >> "$GITHUB_OUTPUT"
46+
echo "redhat_quay_repo=${REDHAT_QUAY_REPO}" >> "$GITHUB_OUTPUT"
4747
4848
- name: Set up QEMU
4949
id: qemu
50-
uses: docker/setup-qemu-action@v1
50+
uses: docker/setup-qemu-action@v3
5151
with:
5252
image: tonistiigi/binfmt:latest
5353
platforms: all
5454

5555
- name: Set up Docker Buildx
5656
id: buildx
57-
uses: docker/setup-buildx-action@master
57+
uses: docker/setup-buildx-action@v3
5858

5959
- name: Login to GitHub Container Registry
60-
uses: docker/login-action@v1
60+
uses: docker/login-action@v3
6161
with:
6262
registry: ghcr.io
6363
username: ${{ github.repository_owner }}
6464
password: ${{ secrets.GITHUB_TOKEN }}
6565

6666
#- name: Login to DockerHub
67-
# uses: docker/login-action@v1
67+
# uses: docker/login-action@v3
6868
# with:
6969
# registry: docker.io
7070
# username: ${{ secrets.DOCKER_USERNAME }}
7171
# password: ${{ secrets.DOCKER_PASSWORD }}
7272

7373
#- name: Login to RED HAT Quay.io Container Registry
74-
# uses: docker/login-action@v1
74+
# uses: docker/login-action@v3
7575
# with:
7676
# registry: quay.io
7777
# username: ${{ secrets.REDHAT_QUAY_USERNAME }}
7878
# password: ${{ secrets.REDHAT_QUAY_PASSWORD }}
7979

8080
- name: Build
81-
uses: docker/build-push-action@v2
81+
uses: docker/build-push-action@v6
8282
with:
8383
builder: ${{ steps.buildx.outputs.name }}
8484
context: .

0 commit comments

Comments
 (0)