Merge pull request #6000 from libgit2/ethomson/ci

ci: tag new containers with the latest tag
This commit is contained in:
Edward Thomson
2021-08-23 15:27:42 -04:00
committed by GitHub
7 changed files with 8 additions and 0 deletions

View File

@@ -70,7 +70,9 @@ jobs:
BASE_ARG="--build-arg BASE=${{ matrix.container.base }}"
fi
docker build -t ${{ env.docker-registry-container-sha }} ${BASE_ARG} -f ${{ env.dockerfile }} .
docker tag ${{ env.docker-registry-container-sha }} ${{ env.docker-registry-container-latest }}
docker push ${{ env.docker-registry-container-sha }}
docker push ${{ env.docker-registry-container-latest }}
working-directory: ${{ env.docker-config-path }}
if: github.event_name != 'pull_request' && env.docker-container-exists != 'true'

View File

@@ -1,4 +1,5 @@
ARG BASE=ubuntu:bionic
FROM ${BASE} AS apt
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \

View File

@@ -1,4 +1,5 @@
ARG BASE=centos:7
FROM ${BASE} AS yum
RUN yum install -y \
which \

View File

@@ -1,4 +1,5 @@
ARG BASE=centos:8
FROM ${BASE} AS yum
RUN yum install -y \
which \

View File

@@ -1,4 +1,5 @@
ARG BASE=ubuntu:bionic
FROM ${BASE}
RUN apt update && apt install -y cmake pkg-config ruby ruby-dev llvm libclang-dev libssl-dev python-pygments
RUN gem install docurium

View File

@@ -1,4 +1,5 @@
ARG BASE=ubuntu:focal
FROM ${BASE} AS apt
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \

View File

@@ -1,4 +1,5 @@
ARG BASE=ubuntu:xenial
FROM ${BASE} AS apt
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \