Skip to content

Commit

Permalink
Update docker-publish.yml (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
MagneticNeedle authored Sep 17, 2023
1 parent 4ad0fae commit d148434
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ name: MakeDockerImage

on:
workflow_dispatch:
push:
branches: [ main ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
# push:
# branches: [ main ]
# # Publish semver tags as releases.
# tags: [ 'v*.*.*' ]

env:
IMAGE_NAME: bot
Expand Down Expand Up @@ -48,13 +48,13 @@ jobs:
echo VERSION=$VERSION
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
update-portainer:
needs: production-deploy
runs-on: ubuntu-latest
steps:
- name: post to webhook
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.PORTAINER_BOTS_STACK_URL }}
method: 'POST'
timeout: 180000
# update-portainer:
# needs: production-deploy
# runs-on: ubuntu-latest
# steps:
# - name: post to webhook
# uses: fjogeleit/http-request-action@v1
# with:
# url: ${{ secrets.PORTAINER_BOTS_STACK_URL }}
# method: 'POST'
# timeout: 180000

0 comments on commit d148434

Please sign in to comment.