From 4e1338046eb460a0cd27ebae807c0c0b0eebe812 Mon Sep 17 00:00:00 2001 From: Ziga Zajc Date: Sun, 28 Jan 2024 11:59:24 +0100 Subject: [PATCH] Updated Github workflow for releases --- .github/workflows/server-release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/server-release.yml b/.github/workflows/server-release.yml index 3800bb9..fa2c83b 100644 --- a/.github/workflows/server-release.yml +++ b/.github/workflows/server-release.yml @@ -10,31 +10,31 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get the version id: get_version uses: battila7/get-version-action@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: ./server/ push: true platforms: linux/amd64,linux/arm64 tags: | rabbitcompany/passky-server:${{steps.get_version.outputs.version-without-v}} - rabbitcompany/passky-server:${{steps.get_version.outputs.major}} \ No newline at end of file + rabbitcompany/passky-server:${{steps.get_version.outputs.major}}