Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated actions to fix release message, docker push #255

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading