build tags

This commit is contained in:
SmeagolWorms4
2022-06-04 22:42:08 +02:00
parent 8a1a0ca7ea
commit 5edd3e4161
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
tags: [ * ]
jobs:
# This workflow contains a single job called "build"
@@ -57,7 +58,7 @@ jobs:
# If the VERSION looks like a version number, assume that
# this is the most recent version of the image and also
# tag it 'latest'.
if [[ $VERSION =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
if [[ $VERSION =~ "master" ]]; then
TAGS="${DOCKER_IMAGE}:${VERSION}"
fi
+2 -2
View File
@@ -20,10 +20,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
#- name: setup-docker
# uses: docker-practice/actions-setup-docker@1.0.8
- name: Push readme
run: |
DOCKERHUB_REPO_NAME=${GITHUB_REPOSITORY#*/}