Skip to content

Commit 90e9918

Browse files
authored
Update docker.yml
1 parent 1df8fff commit 90e9918

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/docker.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
tag:
7+
default: latest
78
description: build tag
89
required: false
910
jobs:
@@ -19,6 +20,6 @@ jobs:
1920
password: ${{ secrets.GITHUB_TOKEN }}
2021
- name: Build the hello-docker Docker image
2122
run: |
22-
docker build . --tag ghcr.io/openimis/openimis-mssql:${{ github.event.inputs.tag:-latest }}
23-
docker run ghcr.io/openimis/openimis-mssql:${{ github.event.inputs.tag:-latest }}
24-
docker push ghcr.io/openimis/openimis-mssql:${{ github.event.inputs.tag:-latest }}
23+
docker build . --tag ghcr.io/openimis/openimis-mssql:${{ github.event.inputs.tag }}
24+
docker run ghcr.io/openimis/openimis-mssql:${{ github.event.inputs.tag }}
25+
docker push ghcr.io/openimis/openimis-mssql:${{ github.event.inputs.tag }}

0 commit comments

Comments
 (0)