Mercurial > repos > rliterman > csp2
comparison CSP2/.github/workflows/build-docker.yml @ 33:6f4e6377ba64
"planemo upload"
author | rliterman |
---|---|
date | Thu, 05 Dec 2024 12:32:42 -0500 |
parents | 01431fa12065 |
children |
comparison
equal
deleted
inserted
replaced
32:a12953834916 | 33:6f4e6377ba64 |
---|---|
1 name: docker-build | |
2 | |
3 on: | |
4 release: | |
5 types: [published] | |
6 | |
7 jobs: | |
8 docker: | |
9 runs-on: ubuntu-latest | |
10 steps: | |
11 - | |
12 name: Set up QEMU | |
13 uses: docker/setup-qemu-action@v3 | |
14 - | |
15 name: Set up Docker Buildx | |
16 uses: docker/setup-buildx-action@v3 | |
17 - | |
18 name: Login to Docker Hub | |
19 uses: docker/login-action@v3 | |
20 with: | |
21 username: ${{ secrets.DOCKERHUB_USERNAME }} | |
22 password: ${{ secrets.DOCKERHUB_TOKEN }} | |
23 - | |
24 name: Build and push | |
25 uses: docker/build-push-action@v6 | |
26 with: | |
27 file: docker/Dockerfile | |
28 platforms: linux/amd64 | |
29 target: release | |
30 build-args: | | |
31 VERSION=${{ github.ref_name }} | |
32 CSP2_BRANCH=${{ github.ref_name }} | |
33 push: true | |
34 tags: cfsanbiostatistics/csp2:latest,cfsanbiostatistics/csp2:${{ github.ref_name }} |