diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c7fff1d..bf4b2cb 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -1,4 +1,4 @@ -name: Svelte Website guild. +name: Svelte Website build & push. run-name: ${{ github.actor }} is building the website. on: push: @@ -9,15 +9,14 @@ jobs: name: 'Building the website' runs-on: ubuntu-latest steps: - # I'm growing desperate to find a way to pre-install docker in the container. + - name: 'Build:checkout' + uses: actions/checkout@v4 - name: Set up docker uses: papodaca/install-docker-action@main - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: 'Build:checkout' - uses: actions/checkout@v4 + uses: docker/setup-buildx-action@v2 - name: Log in to the Container registry uses: docker/login-action@v2 with: @@ -25,11 +24,11 @@ jobs: username: midou password: ${{ secrets.ACCESS_TOKEN }} - name: 'Build:dockerimage' - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v4 env: ACTIONS_RUNTIME_TOKEN: '' # Workaround to some bug specific to gitea actions. with: - tags: midou/midou36o.github.io:latest + tags: git.projectsegfau.lt/midou/midou36o.github.io:latest context: '.' + file: ./Dockerfile push: true - no-cache: true