diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 49a82c2..30e829e 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -15,9 +15,6 @@ env: # There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. jobs: build-and-push-image: - strategy: - matrix: - version: ["latest", "slim"] runs-on: ubuntu-latest # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. permissions: @@ -51,7 +48,6 @@ jobs: tags: | type=ref,event=branch type=sha - type=raw,${{ matrix.version }} - name: Build and push Docker image id: push uses: docker/build-push-action@v6 @@ -59,7 +55,5 @@ jobs: context: . file: Dockerfile push: true - build-args: | - SWIFT_VERSION=swift:${{ matrix.version }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index a386f4b..b4b5af4 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -47,10 +47,8 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=ref,event=branch type=semver,pattern={{version}} - type=sha - type=raw,value=${{ matrix.version }} + type=raw,value=latest - name: Build and push Docker image id: push uses: docker/build-push-action@v6