Bump version of action

This commit is contained in:
Gauvino
2023-10-01 18:40:54 +02:00
committed by Miroslav Šedivý
parent 9a30f29c93
commit 3d95cb41e2
+8 -8
View File
@@ -36,7 +36,7 @@ jobs:
run: cd ./client && npm run build
-
name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: client
path: ./client/dist
@@ -51,10 +51,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
-
name: Download client artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: client
path: ./client/dist
@@ -67,17 +67,17 @@ jobs:
sed -i 's/--from=frontend \/src\/dist\//.\/client\/dist\//g' ./Dockerfile
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
-
name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
-
name: Extract metadata (tags, labels) for Docker
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
id: meta
with:
images: ${{ env.IMAGE_NAME }}
@@ -88,13 +88,13 @@ jobs:
type=semver,pattern={{major}}
-
name: Log in to the Container registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
# Turns out the build-push-action runs in a "GitHub" context by default.
# At the very least, it means pulling down your repository as part of pre-Dockerfile command.