diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 20f3596..865bd4b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -12,8 +12,9 @@ jobs: run: curl -fsSL get.docker.com | bash - name: Clone 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 - run: | - 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 \ No newline at end of file + run: docker build . -t tgj.services/git/thatguyjack/php-fpm:latest + - name: Push + run: docker push tgj.services/git/thatguyjack/php-fpm:latest \ No newline at end of file