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

This commit is contained in:
Jack 2023-08-25 19:44:47 +01:00
parent 3511cebc51
commit 7b5e68583f

View File

@ -12,8 +12,9 @@ jobs:
run: curl -fsSL get.docker.com | bash run: curl -fsSL get.docker.com | bash
- name: Clone - name: Clone
run: git clone https://tgj.services/git/ThatGuyJack/php-fpm-docker.git . run: git clone https://tgj.services/git/ThatGuyJack/php-fpm-docker.git .
- name: Login
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login 'tgj.services/git/' -u thatguyjack --password-stdin
- name: Build - name: Build
run: | run: docker build . -t tgj.services/git/thatguyjack/php-fpm:latest
echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login 'tgj.services/git/' -u thatguyjack --password-stdin - name: Push
docker build -t tgj.services/git/thatguyjack/php-fpm:latest run: docker push tgj.services/git/thatguyjack/php-fpm:latest
docker push tgj.services/git/thatguyjack/php-fpm:latest