Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 88807c8

Browse files
committed
feature: build+push workflow actions
1 parent f68a7f1 commit 88807c8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,15 @@ jobs:
3434
with:
3535
username: ${{ secrets.DOCKERHUB_USERNAME }}
3636
password: ${{ secrets.DOCKERHUB_TOKEN }}
37-
- name: Build and push
37+
- name: Build
3838
id: docker_build
3939
uses: docker/build-push-action@v2
4040
with:
41-
push: true
41+
context: .
4242
tags: trendyoltech/certificator:${{ steps.vars.outputs.latest_tag }}
43+
load: true
4344
build-args: |
4445
BUILD_TIME=${{ steps.vars.outputs.build_time }}
45-
VCS_REF=${{ steps.vars.outputs.sha_short }}
46+
VCS_REF=${{ steps.vars.outputs.sha_short }}
47+
- name: Push
48+
run: docker push trendyoltech/certificator:${{ steps.vars.outputs.latest_tag }}

0 commit comments

Comments
 (0)