From 1b2fba01ede2bc89ee1495f1d2e0a191677cd668 Mon Sep 17 00:00:00 2001 From: Levente Bajczi Date: Tue, 12 Mar 2024 11:35:37 +0100 Subject: [PATCH] Updated actions, version bump --- .github/actions/create-release/action.yml | 2 +- .github/actions/docker-deploy/action.yml | 28 +++++++++++------------ build.gradle.kts | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/actions/create-release/action.yml b/.github/actions/create-release/action.yml index 25c33cf690..eafda4b418 100644 --- a/.github/actions/create-release/action.yml +++ b/.github/actions/create-release/action.yml @@ -24,7 +24,7 @@ runs: echo "tagname=v$version" >> $GITHUB_OUTPUT EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) echo "message<<$EOF" >> $GITHUB_OUTPUT - echo $message >> $GITHUB_OUTPUT + echo "$message" >> $GITHUB_OUTPUT echo "$EOF" >> $GITHUB_OUTPUT - name: Verify variables shell: bash diff --git a/.github/actions/docker-deploy/action.yml b/.github/actions/docker-deploy/action.yml index 7e69cbca6e..db8d38e3e0 100644 --- a/.github/actions/docker-deploy/action.yml +++ b/.github/actions/docker-deploy/action.yml @@ -16,18 +16,18 @@ runs: steps: - name: Checkout uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Extract metadata (tags, labels) for DockerHub - id: metaDH - uses: docker/metadata-action@c4ee3adeed93b1fa6a762f209fb01608c1a22f1e - with: - images: ${{ inputs.user-dockerhub }}/${{ inputs.project }} - tags: type:raw, value=${{ inputs.version }} - - name: Extract metadata (tags, labels) for ghcr.io - id: metaGH - uses: docker/metadata-action@c4ee3adeed93b1fa6a762f209fb01608c1a22f1e - with: - images: ghcr.io/${{ inputs.user-ghcr }}/${{ inputs.project }} - tags: type:raw, value=${{ inputs.version }} + # - name: Extract metadata (tags, labels) for DockerHub + # id: metaDH + # uses: docker/metadata-action@c4ee3adeed93b1fa6a762f209fb01608c1a22f1e + # with: + # images: ${{ inputs.user-dockerhub }}/${{ inputs.project }} + # tags: type:raw, value=${{ inputs.version }} + # - name: Extract metadata (tags, labels) for ghcr.io + # id: metaGH + # uses: docker/metadata-action@c4ee3adeed93b1fa6a762f209fb01608c1a22f1e + # with: + # images: ghcr.io/${{ inputs.user-ghcr }}/${{ inputs.project }} + # tags: type:raw, value=${{ inputs.version }} - name: Creating path id: 'path' shell: bash @@ -39,11 +39,11 @@ runs: context: . file: ${{ steps.path.outputs.path }} push: ${{ inputs.push }} - tags: ${{ steps.metaDH.outputs.tags }} + tags: ${{ inputs.user-dockerhub }}/${{ inputs.project }}:${{ inputs.version }} - name: Build and push to ghcr.io uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 with: context: . file: ${{ steps.path.outputs.path }} push: ${{ inputs.push }} - tags: ${{ steps.metaGH.outputs.tags }} + tags: ghcr.io/${{ inputs.user-ghcr }}/${{ inputs.project }}:${{ inputs.version }} diff --git a/build.gradle.kts b/build.gradle.kts index af7ec4fc9d..b483059b52 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -28,7 +28,7 @@ buildscript { allprojects { group = "hu.bme.mit.theta" - version = "5.0.2" + version = "5.0.3" apply(from = rootDir.resolve("gradle/shared-with-buildSrc/mirrors.gradle.kts")) }