Skip to content

Commit 41d9188

Browse files
committed
Temporarily disable normal workflow
1 parent 82950a8 commit 41d9188

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

.github/workflows/build_and_test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ on:
1616
description: 'Build PGLite packages'
1717
push:
1818
branches: ['main']
19-
pull_request:
19+
# TMP DISABLE
20+
# pull_request:
2021

2122
jobs:
2223
stylecheck:

.github/workflows/build_docker_builder.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,22 @@ jobs:
3434
id: set-image-name
3535
run: |
3636
echo "IMGNAME=${{ env.DOCKERHUB_REPO }}/${{ env.IMAGE_NAME }}" >> $GITHUB_ENV
37-
echo "IMGTAG=${{ env.PG_VERSION }}-${{ env.SDK_VERSION }}" >> $GITHUB_ENV
37+
echo "IMGTAG=${{ env.PG_VERSION }}_${{ env.SDK_VERSION }}" >> $GITHUB_ENV
3838
39-
- name: Check if image exists already
40-
id: image-exists
41-
run: |
42-
docker manifest inspect ${{ env.IMGNAME }}:${{ env.IMGTAG }} > /dev/null 2>&1 && echo "exists=true" || echo "exists=false"
39+
- name: Check if image exists test
4340
continue-on-error: true
44-
shell: bash
41+
run: docker manifest inspect ${{ env.DOCKERHUB_REPO }}/${{ env.IMAGE_NAME }}:${{ env.PG_VERSION }}-${{ env.SDK_VERSION }}
4542

46-
- name: Set output for image-exists
47-
id: set-output
43+
- name: Check if image exists
44+
id: image-exists
4845
run: |
49-
echo "::set-output name=exists::$(docker manifest inspect ${{ env.IMGNAME }}:${{ env.IMGTAG }} > /dev/null 2>&1 && echo true || echo false)"
50-
shell: bash
46+
if docker manifest inspect ${{ env.DOCKERHUB_REPO }}/${{ env.IMAGE_NAME }}:${{ env.PG_VERSION }}-${{ env.SDK_VERSION }} > /dev/null 2>&1; then
47+
echo "exists=true" >> $GITHUB_ENV
48+
echo "::set-output name=exists::true"
49+
else
50+
echo "exists=false" >> $GITHUB_ENV
51+
echo "::set-output name=exists::false"
52+
fi
5153
5254
- uses: actions/checkout@v4
5355
if: steps.image-exists.outputs.exists == 'false'

0 commit comments

Comments
 (0)