Skip to content

Commit 10e18a4

Browse files
Remove ai publish from gh action
Forgot to drop this too in the last pass
1 parent 95d8dff commit 10e18a4

File tree

1 file changed

+1
-75
lines changed

1 file changed

+1
-75
lines changed

.github/workflows/publish.yaml

+1-75
Original file line numberDiff line numberDiff line change
@@ -200,84 +200,10 @@ jobs:
200200
env:
201201
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} # required
202202
if: always()
203-
publish-ai:
204-
name: Build and push Plural ai container
205-
runs-on: ubuntu-20.04
206-
needs: test
207-
permissions:
208-
contents: 'read'
209-
id-token: 'write'
210-
packages: 'write'
211-
steps:
212-
- name: Checkout
213-
uses: actions/checkout@v3
214-
with:
215-
fetch-depth: 0
216-
- name: Docker meta
217-
id: meta
218-
uses: docker/metadata-action@v4
219-
with:
220-
# list of Docker images to use as base name for tags
221-
images: |
222-
dkr.plural.sh/plural/plural-ai
223-
gcr.io/pluralsh/plural-ai
224-
ghcr.io/pluralsh/plural-ai
225-
# generate Docker tags based on the following events/attributes
226-
tags: |
227-
type=semver,pattern={{version}}
228-
- name: Set up QEMU
229-
uses: docker/setup-qemu-action@v2
230-
- name: Set up Docker Buildx
231-
uses: docker/setup-buildx-action@v2
232-
- uses: google-github-actions/auth@v1
233-
with:
234-
workload_identity_provider: 'projects/${{ secrets.GOOGLE_PROJECT_ID }}/locations/global/workloadIdentityPools/github/providers/github'
235-
service_account: '[email protected]'
236-
token_format: 'access_token'
237-
create_credentials_file: true
238-
- uses: google-github-actions/[email protected]
239-
- name: Login to gcr
240-
run: gcloud auth configure-docker -q
241-
- name: installing plural
242-
id: plrl
243-
uses: pluralsh/[email protected]
244-
with:
245-
246-
- name: Login to plural registry
247-
uses: docker/login-action@v2
248-
with:
249-
registry: dkr.plural.sh
250-
251-
password: ${{ secrets.PLURAL_ACCESS_TOKEN }}
252-
- name: Login to GHCR
253-
uses: docker/login-action@v2
254-
with:
255-
registry: ghcr.io
256-
username: ${{ github.repository_owner }}
257-
password: ${{ secrets.GITHUB_TOKEN }}
258-
- name: Build and push ${{ matrix.app }}
259-
uses: docker/build-push-action@v3
260-
with:
261-
context: "./ai"
262-
file: "./ai/Dockerfile"
263-
push: true
264-
tags: ${{ steps.meta.outputs.tags }}
265-
labels: ${{ steps.meta.outputs.labels }}
266-
platforms: linux/amd64
267-
cache-from: type=gha
268-
cache-to: type=gha,mode=max
269-
- name: slack webhook
270-
uses: 8398a7/action-slack@v3
271-
with:
272-
status: ${{ job.status }}
273-
fields: workflow,job,repo,message,commit,author
274-
env:
275-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} # required
276-
if: always()
277203
release:
278204
name: Create GitHub release
279205
runs-on: ubuntu-20.04
280-
needs: [publish, publish-frontend, publish-ai]
206+
needs: [publish, publish-frontend]
281207
permissions:
282208
contents: write
283209
discussions: write

0 commit comments

Comments
 (0)