fix: LSP doesn't work on slim variants, so remove those from ci builds.
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 4m32s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 4m32s
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user