Skip to content

Commit 63dee7f

Browse files
Merge pull request #160 from rustprooflabs/gh-actions
Stop GH actions from sending to Docker Hub
2 parents 2319f72 + 2182f8e commit 63dee7f

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/docker-build.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,19 @@ on:
33
push:
44
jobs:
55
push_to_registry:
6-
name: Push PgOSM-Flex image to Docker Hub
6+
name: Build and inspect PgOSM Flex image
77
runs-on: ubuntu-latest
88
steps:
99
- name: Check out the repo
1010
uses: actions/checkout@v2
11-
with:
12-
fetch-depth: 0
13-
- name: Login to DockerHub
14-
uses: docker/login-action@v1
15-
with:
16-
username: ${{ secrets.DOCKER_HUB_USERNAME }}
17-
password: ${{ secrets.DOCKER_HUB_TOKEN }}
18-
- name: Build and Push to Docker Hub
11+
- name: Build image for local GH use
1912
id: docker_build_push
2013
uses: docker/build-push-action@v2
2114
with:
22-
push: true
15+
context: .
16+
load: true
17+
push: false
2318
tags: rustprooflabs/pgosm-flex:ghdev
24-
- name: Image digest
25-
run: echo ${{ steps.docker_build.outputs.digest }}
26-
19+
- name: Inspect image
20+
run: |
21+
docker image inspect rustprooflabs/pgosm-flex:ghdev

0 commit comments

Comments
 (0)