mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-23 03:33:20 -05:00
feat(build): add RELEASE_VERSION argument to be able to pass release version via env
This commit is contained in:
@@ -9,23 +9,24 @@ jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Login to GHCR
|
||||
- name: Git describe
|
||||
id: ghd
|
||||
uses: proudust/gh-describe@v2
|
||||
- name: Login to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
name: Set up QEMU
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Build and push
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
|
||||
push: true
|
||||
tags: ghcr.io/go-vikunja/vikunja:unstable
|
||||
tags: ghcr.io/go-vikunja/vikunja:unstable
|
||||
build-args: |
|
||||
RELEASE_VERSION:${{ steps.ghd.outputs.describe }}
|
||||
|
||||
Reference in New Issue
Block a user