Skip to content

Commit bab89ec

Browse files
committed
Update image build
1 parent 310b780 commit bab89ec

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/github.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
password: ${{ secrets.GITHUB_TOKEN }}
2121
- name: Build the container image
2222
run: |
23-
BUILD_DATE="$(date +%s)"
24-
docker build . --file Dockerfile --tag ghcr.io/ii/emacs-coder:"$BUILD_DATE"
23+
export BUILD_DATE="$(date +%s)"
24+
docker build . --file Dockerfile --tag ghcr.io/ii/emacs-coder:$BUILD_DATE --tag ghcr.io/ii/emacs-coder:latest
2525
- name: Push the container image
2626
run: |
27-
docker push ghcr.io/ii/emacs-coder:"$BUILD_DATE"
27+
docker push ghcr.io/ii/emacs-coder:$BUILD_DATE
28+
docker push ghcr.io/ii/emacs-coder:latest

0 commit comments

Comments
 (0)