diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index d24b5e0..97bd748 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -19,11 +19,7 @@ jobs: username: ${{ gitea.actor }} password: ${{ secrets.RUNNER_TOKEN }} - - name: Build and push - uses: docker/build-push-action@v4 - with: - context: . - push: true - tags: - ref: ${{ gitea.sha }} # Use SHA for a unique tag - image: https://gitea.nelson-household.com/joseph.nelson4456/koillection-uploader/koillection-uploader # Adjust path/name + - name: Build and Push Image + run: | + docker build -t gitea.nelson-household.com/joseph.nelson4456/koillection-uploader/koillection-uploader:${{ github.sha }} . + docker push gitea.nelson-household.com/joseph.nelson4456/koillection-uploader/koillection-uploader:${{ github.sha }}