Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Nov 14, 2020
1 parent 0551f2a commit e307f5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
DEFAULT_TAG=$IMAGE_NAME:$VERSION-${{ matrix.base-image }}
docker build ${{ matrix.base-image }} --file ${{ matrix.base-image }}/Dockerfile --tag $DEFAULT_TAG --label "org.opencontainers.image.version=$VERSION"
# Tag one of the base images to be the "latest"
[ "$VERSION" == "merge" ] && [ "${{ matrix.base-image }}" == "focal" ] && docker tag $DEFAULT_TAG $IMAGE_NAME:$VERSION
# Tag with the application tag (nominatim version)
APP_TAG=$(docker inspect $DEFAULT_TAG | jq -r '. | first | .ContainerConfig.Labels."app.tag"')
docker tag $DEFAULT_TAG $IMAGE_NAME:$VERSION-${{ matrix.base-image }}-$APP_TAG
Expand Down

0 comments on commit e307f5f

Please sign in to comment.