Skip to content

Commit 7337234

Browse files
fix: create an image with the tag latest
1 parent 1485e43 commit 7337234

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
docker build -t opensourcecobol/opensourcecobol4j:"$version_string_prefix"-debug . \
2525
--build-arg opensource_COBOL_4J_version="$opensource_COBOL_4J_version" \
2626
--build-arg Open_COBOL_ESQL_4J_version="$Open_COBOL_ESQL_4J_version"
27+
28+
- name: Copy Docker image
29+
run: |
30+
docker tag opensourcecobol/opensourcecobol4j:"$version_string_prefix"-debug opensourcecobol/opensourcecobol4j:"$version_string_prefix"-debug-latest
2731
2832
- name: Login to Docker Hub
2933
if: github.ref == 'refs/heads/y-sakamoto/auto-deploy' && github.event_name == 'push'

0 commit comments

Comments
 (0)