call stack webhook after docker build
Some checks failed
Build and push image for doorman / docker (push) Successful in 1m5s
Build and push image for doorman / deploy-portainer (push) Failing after 0s

This commit is contained in:
Martin Dimitrov 2024-02-27 20:37:45 -08:00
parent 30cf78c058
commit 4a1cb12f9a
2 changed files with 9 additions and 2 deletions

View File

@ -15,4 +15,11 @@ jobs:
run: docker build . -t gitea.chromart.dedyn.io/martin/doorman:v1 -t gitea.chromart.dedyn.io/martin/doorman:latest run: docker build . -t gitea.chromart.dedyn.io/martin/doorman:v1 -t gitea.chromart.dedyn.io/martin/doorman:latest
- name: Login and Push Docker image - name: Login and Push Docker image
run: echo -n '${{ secrets.PASSWORD }}' | docker login gitea.chromart.dedyn.io --username ${{ secrets.USERNAME }} --password-stdin && docker image push --all-tags gitea.chromart.dedyn.io/martin/doorman run: echo -n '${{ secrets.PASSWORD }}' | docker login gitea.chromart.dedyn.io --username ${{ secrets.USERNAME }} --password-stdin && docker image push --all-tags gitea.chromart.dedyn.io/martin/doorman
deploy-portainer:
needs: docker
runs-on: ubuntu-22.04
steps:
- name: Call Portainer stack webhook
- run: curl --request POST http://portainer.mart.in/api/stacks/webhooks/db20216d-a40d-45a7-8e93-257d3efdac34

View File

@ -17,7 +17,7 @@ function App() {
setContent, setContent,
} }
}> }>
<Header>Doorman</Header> <Header>Doorman 2.0</Header>
</AlertContext.Provider> </AlertContext.Provider>
</div> </div>
); );