mirror of
https://github.com/Smeagolworms4/MQTT-Explorer.git
synced 2026-07-28 04:06:46 +00:00
build tags
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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#*/}
|
||||
|
||||
Reference in New Issue
Block a user