Skip to content

Commit

Permalink
fix ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
m4dm4rtig4n committed Nov 16, 2021
1 parent 93d652a commit da87a2a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build_push_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
fi

- name: Discord notification building state
if: steps.check-build.outputs.nobuild == 'false'
# if: steps.check-build.outputs.nobuild == 'false'
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
Expand All @@ -67,7 +67,7 @@ jobs:
# VERSION
- name: Build and push ${{ steps.vars.outputs.version }}
uses: docker/build-push-action@v2
if: steps.check-build.outputs.nobuild == 'false'
# if: steps.check-build.outputs.nobuild == 'false'
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
Expand All @@ -87,7 +87,7 @@ jobs:
# LATEST-DEV
- name: Build and push
uses: docker/build-push-action@v2
if: steps.check-build.outputs.nobuild == 'false'
# if: steps.check-build.outputs.nobuild == 'false'
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
Expand All @@ -107,7 +107,8 @@ jobs:
# LATEST
- name: Build and push
uses: docker/build-push-action@v2
if: steps.check-tag.outputs.dev == 'false' && steps.check-build.outputs.nobuild == 'false'
if: steps.check-tag.outputs.dev == 'false'
# if: steps.check-tag.outputs.dev == 'false' && steps.check-build.outputs.nobuild == 'false'
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
Expand All @@ -126,7 +127,8 @@ jobs:
##################################################################################################################
# FINISH
- name: Discord notification
if: steps.check-tag.outputs.dev == 'false' && steps.check-build.outputs.nobuild == 'false'
if: steps.check-tag.outputs.dev == 'false'
# if: steps.check-tag.outputs.dev == 'false' && steps.check-build.outputs.nobuild == 'false'
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
# DISCORD_EMBEDS: {color: 3447003, author: { name: client.user.username, icon_url: client.user.displayAvatarURL() }, title: "EnedisGateway2MQTT new version available => ${{ steps.vars.outputs.version }}", url: "https://hub.docker.com/r/m4dm4rtig4n/enedisgateway2mqtt", fields: [{ name: "Github", value: "https://github.com/m4dm4rtig4n/enedisgateway2mqtt"}, {name: "Docker.io", value: "https://hub.docker.com/r/m4dm4rtig4n/enedisgateway2mqtt"}], timestamp: new Date(), footer: {icon_url: client.user.displayAvatarURL(), text: "© m4dm4rtig4n"}}
Expand Down
5 changes: 5 additions & 0 deletions 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
% Total % Received % Xferd Average Speed % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Expand Down

0 comments on commit da87a2a

Please sign in to comment.