Skip to content

Commit 8ca0acd

Browse files
committed
add a basic container builder action
1 parent c1581a6 commit 8ca0acd

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.github/workflows/docker.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: docker
2+
3+
on:
4+
push:
5+
schedule:
6+
- cron: "32 1 * * 6"
7+
8+
jobs:
9+
docker-ci:
10+
runs-on: ubuntu-latest
11+
name: ${{ matrix.tag }}
12+
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
tag: [ci, ci-dev, ci-4.0]
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
22+
- name: Set up Docker Buildx
23+
uses: docker/setup-buildx-action@v1
24+
25+
- name: Login to DockerHub
26+
uses: docker/login-action@v1
27+
with:
28+
username: ${{ secrets.DOCKER_USERNAME }}
29+
password: ${{ secrets.DOCKER_PASSWORD }}
30+
31+
- name: Build and push
32+
uses: docker/build-push-action@v2
33+
with:
34+
push: true
35+
context: docker/${{ matrix.tag }}
36+
tags: rcpp/${{ matrix.tag }}

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2021-10-02 Dirk Eddelbuettel <[email protected]>
2+
3+
* .github/workflows/docker.yaml (jobs): Add basic container builder
4+
15
2021-10-01 Dirk Eddelbuettel <[email protected]>
26

37
* DESCRIPTION (Version, Date): Roll minor version

0 commit comments

Comments
 (0)