Skip to content

Commit 1a6ed99

Browse files
authored
Merge pull request #11 from openimis/develop
Update docker.yml
2 parents a182849 + 788e909 commit 1a6ed99

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/docker.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: publish
22
on:
3-
pull_request:
43
workflow_dispatch:
54
inputs:
65
tag:
@@ -20,6 +19,5 @@ jobs:
2019
password: ${{ secrets.GITHUB_TOKEN }}
2120
- name: Build the pgsql Docker image
2221
run: |
23-
TAG_INPUT=${{ github.event.inputs.name }}
24-
docker build . --tag ghcr.io/openimis/openimis-pgsql:${TAG_INPUT:-"latest"}
25-
docker push ghcr.io/openimis/openimis-pgsql:${TAG_INPUT:-"latest"}
22+
docker build . --tag ghcr.io/openimis/openimis-pgsql:${{ github.event.inputs.tag }}
23+
docker push ghcr.io/openimis/openimis-pgsql:${{ github.event.inputs.tag }}

0 commit comments

Comments
 (0)