Skip to content

Commit 79cc06e

Browse files
committed
Update github actions
1 parent 2af40bb commit 79cc06e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/docker-build-env.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,22 @@ jobs:
5656
if [ "${{ github.event_name }}" = "push" ]; then
5757
TAGS="$TAGS,${DOCKER_IMAGE}:sha-${GITHUB_SHA::8}"
5858
fi
59-
echo ::set-output name=version::${VERSION}
60-
echo ::set-output name=tags::${TAGS}
61-
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
59+
echo "version=${VERSION}" >> $GITHUB_OUTPUT
60+
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
61+
echo "created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
6262
6363
- name: Set up Docker Buildx
64-
uses: docker/setup-buildx-action@v2
64+
uses: docker/setup-buildx-action@v3
6565

6666
- name: Login to Container registry
67-
uses: docker/login-action@v2
67+
uses: docker/login-action@v3
6868
with:
6969
registry: ${{ matrix.registry }}
7070
username: ${{ github.actor }}
7171
password: ${{ secrets.GITHUB_TOKEN }}
7272

7373
- name: Build and push container image
74-
uses: docker/build-push-action@v3
74+
uses: docker/build-push-action@v5
7575
with:
7676
context: ${{ matrix.context }}
7777
file: ${{ matrix.context }}/${{ matrix.file }}

0 commit comments

Comments
 (0)