Skip to content

Commit

Permalink
running on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
DankersW committed Mar 12, 2021
1 parent cb8ab1d commit ccfaa41
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

name: build_docker

on: [push]
#push:
# branches: master
# tags:
# - 'v*.*.*'
on:
push:
branches: master
tags:
- 'v*.*.*'

jobs:
buildx:
Expand Down Expand Up @@ -41,7 +41,6 @@ jobs:
run: |
DOCKER_REPO="home_automation_framework"
DOCKER_ACC="dankersw"
IMG_TAG="test-amd64"
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/*/}
Expand Down

0 comments on commit ccfaa41

Please sign in to comment.