Update build.yaml
Some checks failed
Build and push image / Build (push) Failing after 1s

This commit is contained in:
Jack 2023-08-25 19:19:27 +01:00
parent 7f0d4dbc09
commit f3ac24070d

View File

@ -5,15 +5,12 @@ on:
branches: [main]
jobs:
deploy:
# defaults:
# run:
# working-directory: /repo
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
run: git pull tgj.services/git/ThatGuyJack/php-fpm-docker main
- name: Deploy
- name: pull
run: git pull https://tgj.services/git/ThatGuyJack/php-fpm-docker.git
- name: Build
run: |
echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u thatguyjack --password-stdin
docker build -t tgj.services/git/php-fpm:latest .