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

16 lines
460 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
docker build -t tgj.services/git/thatguyjack/php-fpm:latest .
docker push tgj.services/git/thatguyjack/php-fpm:latest version: "3.8"