diff --git a/.gitea/workflows/hugo-builder.yml b/.gitea/workflows/hugo-builder.yml index 1076265..4704cd4 100644 --- a/.gitea/workflows/hugo-builder.yml +++ b/.gitea/workflows/hugo-builder.yml @@ -10,5 +10,7 @@ jobs: steps: - name: General Docker Info run: docker info + - name: Find all files in repo space + run: ls -lrt ${{ gitea.workspace }} - name: Attempt a docker build run: docker build -t shockrah/hugo ${{ gitea.workspace }}/website diff --git a/ci/builder.yml b/ci/builder.yml index 85d0b8b..958934f 100644 --- a/ci/builder.yml +++ b/ci/builder.yml @@ -11,7 +11,7 @@ stages: only: refs: - master - # Ensure we login to docker hub before hand everytime + # Login to the docker registry to push before_script: - - echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin + - docker login -u $DOCKER_USERNAME --password-stdin <<< $TOKEN