doorman/.gitea/workflows/docker-image.yaml
Martin Dimitrov 9f5a9be29e
Some checks failed
Build and push image for doorman / docker (push) Failing after 24s
exit redis client after exit
2024-05-03 16:08:53 -07:00

25 lines
844 B
YAML

name: Build and push image for doorman
on:
push:
branches: [main]
jobs:
docker:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
name: Check out code
- name: Build Docker image
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
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://192.168.1.150:9000/api/stacks/webhooks/42b3ae11-45bb-4021-b274-bedcb1250892