Jack 9a595a7878
Some checks failed
Build and push image / Build (push) Failing after 30s
Update build.yaml
2023-08-25 19:37:42 +01:00

17 lines
535 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"