File tree Expand file tree Collapse file tree 2 files changed +53
-1
lines changed
Expand file tree Collapse file tree 2 files changed +53
-1
lines changed Original file line number Diff line number Diff line change 3434 push : true
3535 context : docker/${{ matrix.tag }}
3636 tags : rcpp/${{ matrix.tag }}
37+
38+
39+ docker-run :
40+ runs-on : ubuntu-latest
41+ name : run
42+ needs : docker-ci
43+
44+ steps :
45+ - name : Checkout
46+ uses : actions/checkout@v2
47+
48+ - name : Set up Docker Buildx
49+ uses : docker/setup-buildx-action@v1
50+
51+ - name : Login to DockerHub
52+ uses : docker/login-action@v1
53+ with :
54+ username : ${{ secrets.DOCKER_USERNAME }}
55+ password : ${{ secrets.DOCKER_PASSWORD }}
56+
57+ - name : Build and push
58+ uses : docker/build-push-action@v2
59+ with :
60+ push : true
61+ context : docker/run
62+ tags : rcpp/run
63+
64+
65+ docker-plus :
66+ runs-on : ubuntu-latest
67+ name : plus
68+ needs : docker-run
69+
70+ steps :
71+ - name : Checkout
72+ uses : actions/checkout@v2
73+
74+ - name : Set up Docker Buildx
75+ uses : docker/setup-buildx-action@v1
76+
77+ - name : Login to DockerHub
78+ uses : docker/login-action@v1
79+ with :
80+ username : ${{ secrets.DOCKER_USERNAME }}
81+ password : ${{ secrets.DOCKER_PASSWORD }}
82+
83+ - name : Build and push
84+ uses : docker/build-push-action@v2
85+ with :
86+ push : true
87+ context : docker/plus
88+ tags : rcpp/plus
Original file line number Diff line number Diff line change 112021-10-02 Dirk Eddelbuettel <
[email protected] >
22
3- * .github/workflows/docker.yaml (jobs): Add basic container builder
3+ * .github/workflows/docker.yaml (jobs): Add container builder action
44
552021-10-01 Dirk Eddelbuettel <
[email protected] >
66
You can’t perform that action at this time.
0 commit comments