Skip to content

Commit

Permalink
fix: condition
Browse files Browse the repository at this point in the history
  • Loading branch information
m4dm4rtig4n committed Jan 23, 2024
1 parent 368537e commit b15e73a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

#################################################################################################################
# VERSION
- name: Build and push ${{ needs.informations.outputs.version }}
- name: Build and push ${{ needs.informations.outputs.version }} / latest-dev
uses: docker/build-push-action@v5
with:
file: Dockerfile
Expand All @@ -75,16 +75,15 @@ jobs:
push: true
tags: |
m4dm4rtig4n/enedisgateway2mqtt:${{ needs.informations.outputs.version }}
m4dm4rtig4n/enedisgateway2mqtt:latest-dev
m4dm4rtig4n/enedisgateway2mqtt:latest-dev
m4dm4rtig4n/myelectricaldata:${{ needs.informations.outputs.version }}
m4dm4rtig4n/myelectricaldata:latest-dev
##################################################################################################################
# LATEST
- name: Build and push
uses: docker/build-push-action@v5
if: ${{ needs.informations.outputs.release_type }} == "release"
if: ${{ needs.informations.outputs.release_type == 'release' }}
with:
file: Dockerfile
context: .
Expand Down

0 comments on commit b15e73a

Please sign in to comment.