Update .github/workflows/docker.yml
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 40s
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 40s
This commit is contained in:
parent
cf1fb42485
commit
6f3390a348
1 changed files with 1 additions and 1 deletions
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
@ -7,6 +7,7 @@ on:
|
||||||
- dev
|
- dev
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
|
shell: bash
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: catthehacker/ubuntu:act-latest
|
container: catthehacker/ubuntu:act-latest
|
||||||
|
|
||||||
|
@ -25,7 +26,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DOCKER_IMAGE_NAME: tibber-influx
|
DOCKER_IMAGE_NAME: tibber-influx
|
||||||
run: |
|
run: |
|
||||||
echo "${{ github.ref }}"
|
|
||||||
if [ "${{ github.ref }}" == "refs/heads/main" ]; then
|
if [ "${{ github.ref }}" == "refs/heads/main" ]; then
|
||||||
DOCKER_TAG="latest"
|
DOCKER_TAG="latest"
|
||||||
elif [ "${{ github.ref }}" == "refs/heads/dev" ]; then
|
elif [ "${{ github.ref }}" == "refs/heads/dev" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue