Update docker-image.yml

This commit is contained in:
Maciej Lebiest 2023-03-04 13:35:26 +01:00 committed by GitHub
parent deb1299074
commit bb6f034d79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,8 @@ jobs:
- name: Push image
run: |
IMAGE_NAME="neovim"
IMAGE_ID=ghcr.io/szwendacz99/$IMAGE_NAME
IMAGE_ID="ghcr.io/szwendacz99/$IMAGE_NAME"
TAG=$(date +"%Y-%m-%d")
docker tag $IMAGE_NAME:latest $IMAGE_ID:latest
docker push $IMAGE_ID:latest
docker tag $IMAGE_ID:latest $IMAGE_ID:$TAG