diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9c75086..a9b36d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,8 +25,8 @@ test: - apk add --no-cache bash git iptables - git clone https://github.com/docker-library/official-images.git official-images script: - - official-images/test/run.sh "$IMAGE" - - test/run.sh "$IMAGE" + - official-images/test/run.sh "${DOCKERHUB_REPO_PREFIX}/${DOCKERHUB_REPO_NAME}" + - test/run.sh "${DOCKERHUB_REPO_PREFIX}/${DOCKERHUB_REPO_NAME}" only: - merge_requests @@ -66,13 +66,3 @@ dockerhub:readme: entrypoint: [''] script: - node /app/index.js - -microbadger: - stage: post_release - rules: - - if: '$MICROBADGER_TOKEN =~ /.+/ && $DOCKERHUB_REPO_NAME =~ /.+/' - when: on_success - image: alpine:latest - script: - - curl -V||apk add curl - - curl -s -XPOST "https://hooks.microbadger.com/images/${DOCKERHUB_REPO_PREFIX}/${DOCKERHUB_REPO_NAME}/${MICROBADGER_TOKEN}" diff --git a/Dockerfile b/Dockerfile index 174dcbb..e8748ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ LABEL maintainer="docker@ix.ai" \ # Testing: pamtester RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories && \ + apk --no-cache upgrade && \ apk add --no-cache --update openvpn \ iptables \ bash \ diff --git a/README.md b/README.md index 251c580..7899f9f 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ [![Pipeline Status](https://gitlab.com/ix.ai/openvpn/badges/master/pipeline.svg)](https://gitlab.com/ix.ai/openvpn/) [![Docker Stars](https://img.shields.io/docker/stars/ixdotai/openvpn.svg)](https://hub.docker.com/r/ixdotai/openvpn/) [![Docker Pulls](https://img.shields.io/docker/pulls/ixdotai/openvpn.svg)](https://hub.docker.com/r/ixdotai/openvpn/) -[![ImageLayers](https://images.microbadger.com/badges/image/ixdotai/openvpn.svg)](https://microbadger.com/images/ixdotai/openvpn) -[![Latest Version](https://images.microbadger.com/badges/version/ixdotai/openvpn.svg)](https://microbadger.com/images/ixdotai/openvpn) +[![Docker Image Version (latest)](https://img.shields.io/docker/v/ixdotai/openvpn/latest)](https://hub.docker.com/r/ixdotai/openvpn/) +[![Docker Image Size (latest)](https://img.shields.io/docker/image-size/ixdotai/openvpn/latest)](https://hub.docker.com/r/ixdotai/openvpn/) [![Gitlab Project](https://img.shields.io/badge/GitLab-Project-554488.svg)](https://gitlab.com/ix.ai/openvpn/)