Skip to content

Commit

Permalink
Updated actions, version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Mar 12, 2024
1 parent dc4c523 commit 1b2fba0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/actions/create-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
28 changes: 14 additions & 14 deletions .github/actions/docker-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
}
Expand Down

0 comments on commit 1b2fba0

Please sign in to comment.