Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 7173480

Browse files
authored
feature images just use feature as image tag.
1 parent 16c6c28 commit 7173480

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/feature_branch_tests.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,10 @@ jobs:
4141
with:
4242
username: ${{ secrets.DOCKER_USER }}
4343
password: ${{ secrets.DOCKER_PW }}
44-
-
45-
name: Generate Image Tag from Git Branch
46-
id: vars
47-
run: echo ::set-output name=branch::${GITHUB_REF#refs/*/}
4844
-
4945
name: Push Image to DockerHub Registry
5046
run: |
5147
IMAGE_ID=$(docker images rest -q)
52-
VERSION=${{ steps.vars.outputs.branch }}
53-
IFS=';' read -ra ADDR <<< "$VERSION"
54-
VERSION=$ADDR[1]
48+
VERSION=feature
5549
docker tag $IMAGE_ID filefighter/rest:$VERSION
5650
docker push filefighter/rest:$VERSION

0 commit comments

Comments
 (0)