File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ # Sequence of patterns matched against refs/tags
4+ tags :
5+ - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
6+ name : Docker build
7+
8+ jobs :
9+ buildx :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - id : get_version
13+ uses : battila7/get-version-action@v2
14+ - name : Checkout code
15+ uses : actions/checkout@v2
16+ - name : Set up QEMU
17+ uses : docker/setup-qemu-action@v1
18+ - name : Set up Docker Buildx
19+ id : buildx
20+ uses : docker/setup-buildx-action@v1
21+ - name : Login to DockerHub
22+ uses : docker/login-action@v1
23+ with :
24+ username : ${{ secrets.DOCKERHUB_USERNAME }}
25+ password : ${{ secrets.DOCKERHUB_TOKEN }}
26+ - name : Build and push
27+ uses : docker/build-push-action@v2
28+ with :
29+ context : .
30+ platforms : linux/amd64,linux/arm64
31+ push : true
32+ tags : nlpir/libreoffice:${{ steps.get_version.outputs.version-without-v }}
You can’t perform that action at this time.
0 commit comments