mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-25 16:06:25 +00:00
Merge pull request #6000 from libgit2/ethomson/ci
ci: tag new containers with the latest tag
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -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'
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
ARG BASE=centos:7
|
||||
|
||||
FROM ${BASE} AS yum
|
||||
RUN yum install -y \
|
||||
which \
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
ARG BASE=centos:8
|
||||
|
||||
FROM ${BASE} AS yum
|
||||
RUN yum install -y \
|
||||
which \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user