From 4696e132cf61e3754ed13183121aac17d2c33e2b Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Tue, 15 Dec 2020 10:47:37 -0800 Subject: [PATCH] again --- .github/workflows/docker-build.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index d99ac16..ebc0621 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -22,13 +22,11 @@ jobs: - name: Check out from Git uses: actions/checkout@v2 - name: Test env - run: echo "action_state=yellow" >> $GITHUB_ENV - - name: Test env 2 - run: echo "$action_state" - - name: Git tag - run: echo "head_tag=$(git tag --points-at HEAD)" >> $GITHUB_ENV - - name: Test git tag - run: echo "$head_tag" + run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - name: Test print env + run: | + echo $RELEASE_TAG + echo ${{ env.RELEASE_TAG }} - name: Login to Docker Hub run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin - name: Checkout project