Skip to content

Commit

Permalink
test modified ci file
Browse files Browse the repository at this point in the history
  • Loading branch information
will2hew committed Jul 6, 2024
1 parent 74180fb commit f512d82
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- "v*.*.*"
branches:
- main

jobs:
build-and-push:
Expand All @@ -25,7 +27,10 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set the Docker version tag
run: echo "DOCKER_VERSION_TAG=${{ github.ref_name[1,] }}" >> $GITHUB_ENV
run: |
REF_NAME=v9.9.9
DOCKER_VERSION_TAG=${REF_NAME:1}
echo "DOCKER_VERSION_TAG=$DOCKER_VERSION_TAG" >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v6
Expand Down

0 comments on commit f512d82

Please sign in to comment.