Skip to content

Commit a0ef03d

Browse files
Fix environment variable
1 parent 8ff0f7a commit a0ef03d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
2323
- name: Build the Docker images
2424
run:
25-
docker build . --file ./alpine/Dockerfile --tag $DOCKER_USER/$IMAGE_NAME:alpine
26-
docker build . --file ./slim-buster/Dockerfile --tag $DOCKER_USER/$IMAGE_NAME:slim-buster
25+
docker build . --file /alpine/Dockerfile --tag ${DOCKER_USER}/${IMAGE_NAME}:alpine
26+
docker build . --file /slim-buster/Dockerfile --tag ${DOCKER_USER}/${IMAGE_NAME}:slim-buster
2727
- name: Push the Docker images
2828
run:
2929
docker push $DOCKER_USER/$IMAGE_NAME:alpine

0 commit comments

Comments
 (0)