Skip to content

Commit

Permalink
Updated Github workflow for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
zigazajc007 authored Jan 28, 2024
1 parent bbdb4e0 commit 4e13380
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/server-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
rabbitcompany/passky-server:${{steps.get_version.outputs.major}}

0 comments on commit 4e13380

Please sign in to comment.