Skip to content

Commit a09d436

Browse files
authored
Merge pull request libgit2#6000 from libgit2/ethomson/ci
ci: tag new containers with the latest tag
2 parents 76c503c + dbcb1cd commit a09d436

File tree

7 files changed

+8
-0
lines changed

7 files changed

+8
-0
lines changed

.github/workflows/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ jobs:
7070
BASE_ARG="--build-arg BASE=${{ matrix.container.base }}"
7171
fi
7272
docker build -t ${{ env.docker-registry-container-sha }} ${BASE_ARG} -f ${{ env.dockerfile }} .
73+
docker tag ${{ env.docker-registry-container-sha }} ${{ env.docker-registry-container-latest }}
7374
docker push ${{ env.docker-registry-container-sha }}
75+
docker push ${{ env.docker-registry-container-latest }}
7476
working-directory: ${{ env.docker-config-path }}
7577
if: github.event_name != 'pull_request' && env.docker-container-exists != 'true'
7678

ci/docker/bionic

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ARG BASE=ubuntu:bionic
2+
23
FROM ${BASE} AS apt
34
RUN apt-get update && \
45
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \

ci/docker/centos7

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ARG BASE=centos:7
2+
23
FROM ${BASE} AS yum
34
RUN yum install -y \
45
which \

ci/docker/centos8

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ARG BASE=centos:8
2+
23
FROM ${BASE} AS yum
34
RUN yum install -y \
45
which \

ci/docker/docurium

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ARG BASE=ubuntu:bionic
2+
23
FROM ${BASE}
34
RUN apt update && apt install -y cmake pkg-config ruby ruby-dev llvm libclang-dev libssl-dev python-pygments
45
RUN gem install docurium

ci/docker/focal

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ARG BASE=ubuntu:focal
2+
23
FROM ${BASE} AS apt
34
RUN apt-get update && \
45
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \

ci/docker/xenial

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ARG BASE=ubuntu:xenial
2+
23
FROM ${BASE} AS apt
34
RUN apt-get update && \
45
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \

0 commit comments

Comments
 (0)