Unverified Commit a09d4367 by Edward Thomson Committed by GitHub

Merge pull request #6000 from libgit2/ethomson/ci

ci: tag new containers with the latest tag
parents 76c503c3 dbcb1cd7
...@@ -70,7 +70,9 @@ jobs: ...@@ -70,7 +70,9 @@ jobs:
BASE_ARG="--build-arg BASE=${{ matrix.container.base }}" BASE_ARG="--build-arg BASE=${{ matrix.container.base }}"
fi fi
docker build -t ${{ env.docker-registry-container-sha }} ${BASE_ARG} -f ${{ env.dockerfile }} . 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-sha }}
docker push ${{ env.docker-registry-container-latest }}
working-directory: ${{ env.docker-config-path }} working-directory: ${{ env.docker-config-path }}
if: github.event_name != 'pull_request' && env.docker-container-exists != 'true' if: github.event_name != 'pull_request' && env.docker-container-exists != 'true'
......
ARG BASE=ubuntu:bionic ARG BASE=ubuntu:bionic
FROM ${BASE} AS apt FROM ${BASE} AS apt
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
......
ARG BASE=centos:7 ARG BASE=centos:7
FROM ${BASE} AS yum FROM ${BASE} AS yum
RUN yum install -y \ RUN yum install -y \
which \ which \
......
ARG BASE=centos:8 ARG BASE=centos:8
FROM ${BASE} AS yum FROM ${BASE} AS yum
RUN yum install -y \ RUN yum install -y \
which \ which \
......
ARG BASE=ubuntu:bionic ARG BASE=ubuntu:bionic
FROM ${BASE} FROM ${BASE}
RUN apt update && apt install -y cmake pkg-config ruby ruby-dev llvm libclang-dev libssl-dev python-pygments RUN apt update && apt install -y cmake pkg-config ruby ruby-dev llvm libclang-dev libssl-dev python-pygments
RUN gem install docurium RUN gem install docurium
ARG BASE=ubuntu:focal ARG BASE=ubuntu:focal
FROM ${BASE} AS apt FROM ${BASE} AS apt
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
......
ARG BASE=ubuntu:xenial ARG BASE=ubuntu:xenial
FROM ${BASE} AS apt FROM ${BASE} AS apt
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment