Update docker-image.yml
This commit is contained in:
parent
deb1299074
commit
bb6f034d79
1 changed files with 2 additions and 1 deletions
3
.github/workflows/docker-image.yml
vendored
3
.github/workflows/docker-image.yml
vendored
|
@ -24,7 +24,8 @@ jobs:
|
||||||
- name: Push image
|
- name: Push image
|
||||||
run: |
|
run: |
|
||||||
IMAGE_NAME="neovim"
|
IMAGE_NAME="neovim"
|
||||||
IMAGE_ID=ghcr.io/szwendacz99/$IMAGE_NAME
|
IMAGE_ID="ghcr.io/szwendacz99/$IMAGE_NAME"
|
||||||
TAG=$(date +"%Y-%m-%d")
|
TAG=$(date +"%Y-%m-%d")
|
||||||
|
docker tag $IMAGE_NAME:latest $IMAGE_ID:latest
|
||||||
docker push $IMAGE_ID:latest
|
docker push $IMAGE_ID:latest
|
||||||
docker tag $IMAGE_ID:latest $IMAGE_ID:$TAG
|
docker tag $IMAGE_ID:latest $IMAGE_ID:$TAG
|
||||||
|
|
Loading…
Reference in a new issue