diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 2d2ed90..47f8a85 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -6,14 +6,18 @@ jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest steps: - # - name: Check out repository code - # uses: actions/checkout@v4 - # - name: Set up Docker Buildx - # uses: docker/setup-buildx-action@v3 - # with: - # endpoint: tcp://127.0.0.1:2376 + - name: Check out repository code + uses: actions/checkout@v4 - name: Set up Docker Buildx uses: https://github.com/docker/setup-buildx-action@v3 + - name: Build and push + uses: https://github.com/docker/build-push-action@v6 + with: + context: . + push: true + pull: true + no-cache: true + tags: "${{ env.GITEA_DOMAIN }}/${{ env.GITEA_REGISTRY_USER }}/blog:${{ gitea.event.package.version }}" # - name: Build and push # uses: docker/build-push-action@v6 # with: