Skip to content

Commit 95bb569

Browse files
committed
add debug info to the main.yml workflow
1 parent 5043620 commit 95bb569

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Docker PostGIS CI
22

3+
# for building linux/amd64 ( x86-64 ) images !
4+
35
on:
46
push:
57
pull_request:
@@ -39,14 +41,28 @@ jobs:
3941
env:
4042
VERSION: ${{ matrix.postgres }}-${{ matrix.postgis }}
4143
VARIANT: ${{ matrix.variant }}
44+
WORKFLOW: main
45+
# NO Docker image tag postfix!
46+
TAG_POSTFIX: ''
4247

4348
steps:
4449
- name: Checkout source
45-
uses: actions/checkout@v2
50+
uses: actions/checkout@v3
4651

47-
- name: Build docker image for ${{ env.VERSION }} ${{ env.VARIANT }}
52+
- name: Build docker image for ${{ env.VERSION }} ${{ env.VARIANT }}${{ env.TAG_POSTFIX }}
4853
run: make test
4954

55+
- name: "debug: docker images"
56+
run: docker images
57+
58+
- name: "debug: docker inspect postgis/postgis:${{ env.VERSION }}${{ env.TAG_POSTFIX }}"
59+
if: ${{ env.VARIANT == 'default' }}
60+
run: docker inspect postgis/postgis:${{ env.VERSION }}${{ env.TAG_POSTFIX }}
61+
62+
- name: "debug: docker inspect postgis/postgis:${{ env.VERSION }}-${{ env.VARIANT }}${{ env.TAG_POSTFIX }}"
63+
if: ${{ env.VARIANT == 'alpine' }}
64+
run: docker inspect postgis/postgis:${{ env.VERSION }}-${{ env.VARIANT }}${{ env.TAG_POSTFIX }}
65+
5066
- name: Login to dockerhub
5167
uses: docker/login-action@v1
5268
if: ${{ (github.ref == 'refs/heads/master') && (github.event_name != 'pull_request') }}

0 commit comments

Comments
 (0)