From fe5478f14836d943e270604220495f5d76779f5f Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 5 Feb 2018 16:01:36 +0100 Subject: [PATCH] Publish image to Quay --- .travis.yml | 7 +++++++ Dockerfile | 2 +- README.md | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9fbe00d..e0257fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,10 +9,13 @@ env: - GITHUB_REPO=crazy-max/docker-jetbrains-license-server - DOCKER_USERNAME=crazymax - DOCKER_REPONAME=jetbrains-license-server + - QUAY_USERNAME=crazymax + - QUAY_REPONAME=jetbrains-license-server - DOCKER_VERSION=17.12.0~ce-0~ubuntu - COMPOSE_VERSION=1.18.0 - MICROBADGER_HOOK=https://hooks.microbadger.com/images/crazymax/jetbrains-license-server/PWF7sHnaK1djP4E9r5VY5suUqVk= - secure: JwfXiiIM4c6E+80O6XHQBhw6IdkerfGxlKo+YHvmtkHyz5Fvpc1ZRvWSZYHZhxE1gocThbKUCy4GsgIyiq+dsER27kdAnnvp6JLw8SZ5OSqtOOLjqCKilN2hwFaS/g6Xc3mGvTo+4ScAc9CDJamDCwGY+6r2g/+IdmCbgqOo8yaD4VkhP4eVB3f4el6F7jEwjo626QDzFZ1LVS0qmmeVBSU+xxfL5HolG+j//hLQ/49XIIGnsWtQmHbX1u2trSESyNRTFdY/KZ7qaW8l+BgLhplKu+YXAExb1POGcKJnffSJjCl22ggX1JUHANMgrcQfZe2DKkUJFqr8FvTCktj+lfAuMYwl3k24zcZHe8eTyBFh8YLs7pn++tOFWg0XcKCWO9vzHgbTf/m95F6tpDMx4Y49jRclJIslxkjf8YIuNvDOO4kPKp2bw4ymqjsayPLx3P4xB8vgvyAZeFBQevUkh3ia/3uCfwEwzWimlT1FTeDUj8h4A9y+zRy/AqGf35LneC/Sbwt5dNaCujAwOGFeCvTp43uYd10S5Rz026ecH/8XlcHzuH4+nUvXDnesRI79+6NkaKl8PdcTx0ZC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WHYPSUEZ7vUlgH2imca6pD/WFYEzULj72MLeI9hpLkuXYUVaxLCBPiNoLKCyMIDsAiq5zyhmQyJFFjPo2l/JTKwtO8JCXR7B6sYp8j5gIir4Izbpm8r6VC8SBtafNcgynfehqs9Ov0yBsKKogo3fb/dSWdwANf36jQ766HaBQkp9NN0PFMLzbeXHaQA248MOP6ObqKsFg1c4iJ1UCY9A59hAUyXT+yAm0Y4auxq21/FEZ8pZFqan5qNaxvo0dP8WfeoVdsQAdZ3u7T4wtsxsO8PWKUA4FEoC3Ic9g5DBVte4SQJ5n6Ni2+DFnq4PZhBdCVwWnHh648sUfKncHdmbqTnIq6bN+RI9ZlY8MyeRKVVbbDU9mrmdM2aWlTeu4HQWd7J6ErHrTRDgkRJxKGbPDUemkX4Nhws= # GITHUB_TOKEN before_install: @@ -50,6 +53,10 @@ after_success: && docker tag $DOCKER_USERNAME/$DOCKER_REPONAME $DOCKER_USERNAME/$DOCKER_REPONAME:$DOCKER_TAG && docker tag $DOCKER_USERNAME/$DOCKER_REPONAME $DOCKER_USERNAME/$DOCKER_REPONAME:$VERSION && docker push $DOCKER_USERNAME/$DOCKER_REPONAME + && echo "$QUAY_PASSWORD" | docker login quay.io --username "$QUAY_USERNAME" --password-stdin + && docker tag $DOCKER_USERNAME/$DOCKER_REPONAME quay.io/$DOCKER_USERNAME/$DOCKER_REPONAME:$DOCKER_TAG + && docker tag $DOCKER_USERNAME/$DOCKER_REPONAME quay.io/$DOCKER_USERNAME/$DOCKER_REPONAME:$VERSION + && docker push quay.io/$QUAY_USERNAME/$QUAY_REPONAME && curl -X POST $MICROBADGER_HOOK branches: diff --git a/Dockerfile b/Dockerfile index 3c4b826..c7c933b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ org.label-schema.schema-version="1.0" RUN apk --update --no-cache add \ - ca-certificates curl libressl nginx supervisor tzdata zip \ + ca-certificates curl libressl nginx supervisor tzdata zip \ && rm -rf /var/cache/apk/* /tmp/* ENV JLS_PATH="/opt/jetbrains-license-server" \ diff --git a/README.md b/README.md index 2c05864..1af477e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Build Status Docker Stars Docker Pulls - Say Thanks + Docker Repository on Quay Donate Paypal