doorman/.gitea/workflows/docker-image.yaml
Martin Dimitrov 17cd5e08d0
All checks were successful
Build and push image for doorman / docker (push) Successful in 1m44s
update docker links
2024-07-06 11:20:57 -07:00

25 lines
820 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.cc/martin/doorman:v1 -t gitea.chromart.cc/martin/doorman:latest
- name: Login and Push Docker image
run: echo -n '${{ secrets.PASSWORD }}' | docker login gitea.chromart.cc --username ${{ secrets.USERNAME }} --password-stdin && docker image push --all-tags gitea.chromart.cc/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