File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release image
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ permissions :
9+ contents : read # to fetch code (actions/checkout)
10+
11+ env :
12+ REGISTRY_IMAGE : openproject/keycloak-openproject-id
13+ KEYCLOAK_VERSION : 26.3.3
14+
15+ jobs :
16+ build :
17+ if : github.repository == 'opf/openproject-id'
18+ needs :
19+ - setup
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v5
24+ - name : Set up QEMU
25+ uses : docker/setup-qemu-action@v3
26+ - name : Set up Docker Buildx
27+ id : buildx
28+ uses : docker/setup-buildx-action@v3
29+ - name : Login to Docker Hub
30+ uses : docker/login-action@v3
31+ with :
32+ username : ${{ secrets.DOCKER_USERNAME }}
33+ password : ${{ secrets.DOCKER_PASSWORD }}
34+ - name : Build & push image
35+ id : build
36+ uses : docker/build-push-action@v6
37+ with :
38+ context : image
39+ file : image/Containerfile
40+ platforms : linux/amd64,linux/arm64
41+ build-args : |
42+ BUILDKIT_PROGRESS=plain
43+ pupush : true
44+ tags : " ${{ env.REGISTRY_IMAGE }}:${{ env.KEYCLOAK_VERSION }}"
You can’t perform that action at this time.
0 commit comments