Skip to content

Commit

Permalink
[#3] k8s: trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
m-karo committed Sep 5, 2024
1 parent a7e62b1 commit c94d836
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
# Construct image name
- name: Construct and output IMAGE_NAME
run: |
IMAGE_NAME="${DOCKER_USERNAME}/${WORKER_NAME}-${BRANCH_NAME}"
IMAGE_NAME="${DOCKER_USERNAME}/${WORKER_NAME}"
echo "IMAGE_NAME=$IMAGE_NAME" >> $GITHUB_ENV
# Build the Docker image
- name: Build the Docker image
run: |
docker build . --file docker/base/Dockerfile --tag ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
docker tag ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} ${{ env.IMAGE_NAME }}:${{ env.LATEST_TAG }}
docker build . --file docker/base/Dockerfile --tag ${{ env.IMAGE_NAME }}:${{ env.BRANCH_NAME }}-${{ env.IMAGE_TAG }}
docker tag ${{ env.IMAGE_NAME }}:${{ env.BRANCH_NAME }}-${{ env.IMAGE_TAG }} ${{ env.IMAGE_NAME }}:${{ env.BRANCH_NAME }}-${{ env.LATEST_TAG }}
# Log in to Docker Hub
- name: Log in to Docker Hub
Expand Down

0 comments on commit c94d836

Please sign in to comment.