File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build base pretix image
2+
3+ concurrency : ${{ inputs.version }}
4+
5+ on :
6+ workflow_dispatch :
7+ inputs :
8+ version :
9+ description : ' The version of pretix to build. Example: v2024.10.0'
10+ required : true
11+ type : string
12+
13+ jobs :
14+ build :
15+ name : Build
16+ runs-on : [self-hosted]
17+ permissions :
18+ contents : read
19+ packages : write
20+ steps :
21+ - uses : actions/checkout@v4
22+ with :
23+ repository : pretix/pretix
24+ ref : ${{ inputs.version }}
25+ - name : Login to Amazon ECR
26+ uses : aws-actions/amazon-ecr-login@v2
27+ - name : Set up Docker Buildx
28+ id : buildx
29+ uses : docker/setup-buildx-action@v3
30+ - name : Build pretix base
31+ uses : docker/build-push-action@v6
32+ id : build-pretix-base
33+ with :
34+ file : ./Dockerfile
35+ builder : ${{ steps.buildx.outputs.name }}
36+ provenance : false
37+ push : true
38+ tags : ghcr.io/pythonitalia/pycon/arm-pretix:${{ inputs.version }}
39+ cache-from : type=local,src=/tmp/.buildx-cache
40+ cache-to : type=local,dest=/tmp/.buildx-cache
41+ platforms : linux/arm64
You can’t perform that action at this time.
0 commit comments