-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (39 loc) · 1.06 KB
/
dockerhub-release-v3.15.1.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: dockerhub-release-v3.15.1
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ubuntu-bionic:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- uses: elgohr/Publish-Docker-Github-Action@master
env:
VERSION: 3.15.1
with:
name: anvari/cmake
workdir: ubuntu18.04
buildargs: VERSION
tags: 3.15.1, 3.15.1-bionic
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
alpine:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- uses: elgohr/Publish-Docker-Github-Action@master
env:
VERSION: 3.15.1
with:
name: anvari/cmake
workdir: alpine3.11
buildargs: VERSION
tags: 3.15.1-alpine, 3.15.1-alpine3.11
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}