Skip to content

Commit f4b14c1

Browse files
committed
refactor: user 'latest' for tag
1 parent 054067a commit f4b14c1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11

22
SHELL := /bin/bash
33
REPO_NAME := openai-hello-world
4-
TAGNAME := "test"
54

65
ifeq ($(OS),Windows_NT)
76
PYTHON = python.exe
@@ -78,9 +77,9 @@ docker-build:
7877

7978
docker-push:
8079
source .env && \
81-
docker tag ${DOCKERHUB_USERNAME}/${REPO_NAME} ${DOCKERHUB_USERNAME}/${REPO_NAME}:${TAGNAME} && \
80+
docker tag ${DOCKERHUB_USERNAME}/${REPO_NAME} ${DOCKERHUB_USERNAME}/${REPO_NAME}:latest && \
8281
echo "${DOCKERHUB_ACCESS_TOKEN}" | docker login --username=${DOCKERHUB_USERNAME} --password-stdin && \
83-
docker push ${DOCKERHUB_USERNAME}/${REPO_NAME}:${TAGNAME}
82+
docker push ${DOCKERHUB_USERNAME}/${REPO_NAME}:latest
8483

8584
docker-run:
8685
source .env && \

0 commit comments

Comments
 (0)