Jack 7f0d4dbc09
Some checks failed
Build and push image / deploy (push) Failing after 1s
Update build.yaml
2023-08-25 19:15:11 +01:00

20 lines
508 B
YAML

name: Build and push image
on:
push:
branches: [main]
jobs:
deploy:
# defaults:
# run:
# working-directory: /repo
steps:
- name: Checkout repo
run: git pull tgj.services/git/ThatGuyJack/php-fpm-docker main
- name: Deploy
run: |
echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u thatguyjack --password-stdin
docker build -t tgj.services/git/php-fpm:latest .
docker push tgj.services/git/php-fpm:latestversion: "3.8"