From 7b5e68583ff6a55ee46d2a6352169ceb80c25bde Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 25 Aug 2023 19:44:47 +0100 Subject: [PATCH] Update build.yaml --- .gitea/workflows/build.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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