Jack 4f904e6782
Some checks failed
Build and push image / Build (push) Failing after 32s
Update build.yaml
2023-08-25 19:36:48 +01:00

17 lines
537 B
YAML

name: Build and push image
on:
push:
branches: [main]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Build
run: |
curl -fsSL get.docker.com | bash
echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login 'tgj.services/git/' -u thatguyjack --password-stdin
git pull https://tgj.services/git/ThatGuyJack/php-fpm-docker.git .
docker build -t tgj.services/git/thatguyjack/php-fpm:latest .
docker push tgj.services/git/thatguyjack/php-fpm:latest version: "3.8"