From 20b67eafe13f5b335f08ad3fdcfad2dcfd5f3bb7 Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Sun, 30 Jun 2024 02:32:57 +0200 Subject: [PATCH] Fixed typo and added dates back to devbuild workflow --- .github/workflows/development-build.yml | 7 +++++-- .github/workflows/release-build.yml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/development-build.yml b/.github/workflows/development-build.yml index 002b1c63..badedd9d 100644 --- a/.github/workflows/development-build.yml +++ b/.github/workflows/development-build.yml @@ -11,6 +11,9 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%Y-%m-%d')" - name: Checkout code uses: actions/checkout@v4 - name: Set up Docker Buildx @@ -27,6 +30,6 @@ jobs: platforms: linux/amd64,linux/arm64 build-args: | "BUILD_CHANNEL=${{ github.ref_name }}" - "BUILD_COMMIT_HASH=${{ github.sha }} - "BUILD_NAME=devbuild" + "BUILD_COMMIT_HASH=${{ github.sha }}" + "BUILD_NAME=devbuild ${{ steps.date.outputs.date }}" "BUILD_VERSION=unknown" diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 51e24f49..bc57204f 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -30,6 +30,6 @@ jobs: platforms: linux/amd64,linux/arm64 build-args: | "BUILD_CHANNEL=${{ github.ref_name }}" - "BUILD_COMMIT_HASH=${{ github.sha }} + "BUILD_COMMIT_HASH=${{ github.sha }}" "BUILD_NAME=${{ github.event.inputs.codeName }}" "BUILD_VERSION=${{ github.event.inputs.versionName }}" \ No newline at end of file