@@ -20,30 +20,11 @@ jobs:
2020 aws-access-key-id : ${{ secrets.aws_access_key_id }}
2121 aws-secret-access-key : ${{ secrets.aws_secret_access_key }}
2222 aws-region : eu-central-1
23- - uses : actions/checkout@v4
24- with :
25- repository : pretix/pretix
26- ref : v2024.10.0
27- path : ./pretix-clone
2823 - name : Login to Amazon ECR
2924 uses : aws-actions/amazon-ecr-login@v2
3025 - name : Set up Docker Buildx
3126 id : buildx
3227 uses : docker/setup-buildx-action@v3
33- - name : Build pretix base
34- uses : docker/build-push-action@v6
35- id : build-pretix-base
36- with :
37- context : ./pretix-clone
38- file : ./pretix-clone/Dockerfile
39- builder : ${{ steps.buildx.outputs.name }}
40- provenance : false
41- push : true
42- tags : |
43- ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.eu-central-1.amazonaws.com/pythonit/pretix:pretix-base-${{ inputs.githash }}
44- cache-from : type=local,src=/tmp/.buildx-cache
45- cache-to : type=local,dest=/tmp/.buildx-cache
46- platforms : linux/arm64
4728 - name : Build and push pretix
4829 uses : docker/build-push-action@v6
4930 with :
5233 builder : ${{ steps.buildx.outputs.name }}
5334 provenance : false
5435 push : true
55- tags : |
56- ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.eu-central-1.amazonaws.com/pythonit/pretix:arm-${{ inputs.githash }}
36+ tags : ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.eu-central-1.amazonaws.com/pythonit/pretix:arm-${{ inputs.githash }}
5737 cache-from : type=local,src=/tmp/.buildx-cache
5838 cache-to : type=local,dest=/tmp/.buildx-cache
5939 platforms : linux/arm64
60- build-args : |
61- PRETIX_IMAGE=${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.eu-central-1.amazonaws.com/pythonit/pretix:pretix-base-${{ inputs.githash }}
0 commit comments