Skip to content

Commit bb2529a

Browse files
committed
test
1 parent 47cc578 commit bb2529a

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.github/actions/build-docker/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ runs:
107107
cache-to: type=gha,mode=max,scope=${{ inputs.cache-scope }}
108108
provenance: false
109109
sbom: false
110+
load: true
110111

111112
- name: Output image details
112113
shell: bash

.github/workflows/build.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020
jobs:
2121

2222
test-postgresql-windows:
23-
if: true # false to skip job during debug
23+
if: false # false to skip job during debug
2424
name: Test on Windows
2525
runs-on: windows-latest
2626
steps:
@@ -55,7 +55,7 @@ jobs:
5555

5656

5757
test-postgresql-macos:
58-
if: true # false to skip job during debug
58+
if: false # false to skip job during debug
5959
name: Test on MacOS
6060
runs-on: macos-latest
6161
steps:
@@ -103,7 +103,7 @@ jobs:
103103
run: go test -v -p 1 -parallel 1 -failfast ./...
104104

105105
test-postgresql-ubuntu:
106-
if: true # false to skip job during debug
106+
if: false # false to skip job during debug
107107
name: Test and Build on Ubuntu
108108
runs-on: ubuntu-latest
109109
steps:
@@ -155,7 +155,7 @@ jobs:
155155
args: release --snapshot --skip=publish --clean
156156

157157
build-docs:
158-
if: true # false to skip job during debug
158+
if: false # false to skip job during debug
159159
needs: [test-postgresql-ubuntu, test-postgresql-windows, test-postgresql-macos]
160160
name: Build Docs
161161
runs-on: ubuntu-latest
@@ -201,7 +201,7 @@ jobs:
201201

202202
test-docker-images:
203203
if: true # false to skip job during debug
204-
needs: [test-postgresql-ubuntu, test-postgresql-windows, test-postgresql-macos]
204+
# needs: [test-postgresql-ubuntu, test-postgresql-windows, test-postgresql-macos]
205205
name: Test Docker Image Build
206206
runs-on: ubuntu-latest
207207
steps:
@@ -219,12 +219,16 @@ jobs:
219219
- name: Test build Docker image (fast, amd64 only)
220220
uses: ./.github/actions/build-docker
221221
with:
222-
dockerfile: docker/Dockerfile
222+
dockerfile: Dockerfile
223223
image-name: cybertecpostgresql/pg_timetable
224224
platforms: linux/amd64
225225
push: 'false'
226226
cache-scope: test-build
227227
build-args: |
228228
COMMIT=${{ steps.meta.outputs.GIT_HASH }}
229229
DATE=${{ steps.meta.outputs.GIT_TIME }}
230-
VERSION=${{ steps.meta.outputs.VERSION }}
230+
VERSION=${{ steps.meta.outputs.VERSION }}
231+
232+
- name: Check image output
233+
run: |
234+
docker run --rm cybertecpostgresql/pg_timetable:pr-717 --version

0 commit comments

Comments
 (0)