Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
farodin91 committed Oct 14, 2023
1 parent fa85f17 commit 30e2bc6
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/docker-release-tags-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
name: Apply docker tags to the official JanusGraph release v0.6.4

on:
release:
types: [released,edited]
push:

env:
LATEST_RELEASE: 0.6
Expand All @@ -26,18 +25,15 @@ jobs:
runs-on: ubuntu-22.04
#if: "!contains(github.event.release.tag_name, '-') && !github.event.release.prerelease"
steps:
- uses: actions/checkout@v4
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
#- name: EXTRACT VERSION
# run: |
# MINOR_VERSION=$(echo "${{ github.event.release.tag_name }}" | grep -Eo '[0-9]+\.[0-9]+' | head -1)
# PATCH_VERSION=$(echo "${{ github.event.release.tag_name }}" | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+' | head -1)
# REVISION="$(git rev-parse --short HEAD)"
# echo "MINOR_VERSION=${MINOR_VERSION}" >> $GITHUB_ENV
# echo "PATCH_VERSION=${PATCH_VERSION}" >> $GITHUB_ENV
# echo "REVISION=${REVISION}" >> $GITHUB_ENV
- name: EXTRACT VERSION
run: |
REVISION="$(git rev-parse --short HEAD)"
echo "REVISION=${REVISION}" >> $GITHUB_ENV
#- name: Run minor tag for ghcr.io
# uses: shrink/actions-docker-registry-tag@v3
# with:
Expand Down

0 comments on commit 30e2bc6

Please sign in to comment.