Skip to content

Commit

Permalink
fixed push-dockerhub.yml
Browse files Browse the repository at this point in the history
which still had an "env" section for building the docker images which caused the `IMAGE_TAG` environment variable to be empty during build
  • Loading branch information
thjaeckle committed Jul 1, 2020
1 parent bf8a359 commit 18ffb8b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/push-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
docker build -f services/dockerfile-release --build-arg SERVICE_STARTER=ditto-services-concierge-starter --build-arg SERVICE_VERSION=$IMAGE_TAG -t eclipse/ditto-concierge:$IMAGE_TAG -t eclipse/ditto-concierge:$IMAGE_MINOR_TAG -t eclipse/ditto-concierge:$IMAGE_MAJOR_TAG -t eclipse/ditto-concierge:latest .;
docker build -f services/dockerfile-release --build-arg SERVICE_STARTER=ditto-services-gateway-starter --build-arg SERVICE_VERSION=$IMAGE_TAG -t eclipse/ditto-gateway:$IMAGE_TAG -t eclipse/ditto-gateway:$IMAGE_MINOR_TAG -t eclipse/ditto-gateway:$IMAGE_MAJOR_TAG -t eclipse/ditto-gateway:latest .;
docker build -f services/dockerfile-release --build-arg SERVICE_STARTER=ditto-services-connectivity-starter --build-arg SERVICE_VERSION=$IMAGE_TAG -t eclipse/ditto-connectivity:$IMAGE_TAG -t eclipse/ditto-connectivity:$IMAGE_MINOR_TAG -t eclipse/ditto-connectivity:$IMAGE_MAJOR_TAG -t eclipse/ditto-connectivity:latest .;
env:
IMAGE_TAG: ${{ steps.branch_name.outputs.IMAGE_TAG }}
- name: Push the Docker images to Docker Hub
run: |
docker push eclipse/ditto-policies:$IMAGE_TAG;
Expand Down

0 comments on commit 18ffb8b

Please sign in to comment.