File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches :
66 - ' main'
77 paths :
8- - ' package.json'
9- - ' requirements.txt'
108 - ' docker/base.Dockerfile'
119
1210 workflow_dispatch :
1311
14- env :
15- REGISTRY : ghcr.io
16- IMAGE_NAME : datatracker-app-base
17-
1812jobs :
1913 publish :
2014 runs-on : ubuntu-latest
@@ -25,12 +19,24 @@ jobs:
2519 steps :
2620 - uses : actions/checkout@v2
2721
28- - name : Docker Build & Push
29- uses : mr-smithers-excellent/docker-build-push@v5.6
22+ - name : Set up QEMU
23+ uses : docker/setup-qemu-action@v2
24+
25+ - name : Set up Docker Buildx
26+ uses : docker/setup-buildx-action@v2
27+
28+ - name : Login to GitHub Container Registry
29+ uses : docker/login-action@v2
3030 with :
31- image : ${{ env.IMAGE_NAME }}
32- tags : latest
33- registry : ${{ env.REGISTRY }}
34- dockerfile : docker/base.Dockerfile
31+ registry : ghcr.io
3532 username : ${{ github.actor }}
3633 password : ${{ secrets.GITHUB_TOKEN }}
34+
35+ - name : Docker Build & Push
36+ uses : docker/build-push-action@v3
37+ with :
38+ context : .
39+ file : docker/base.Dockerfile
40+ platforms : linux/amd64,linux/arm64
41+ push : true
42+ tags : ghcr.io/ietf-tools/datatracker-app-base:latest
You can’t perform that action at this time.
0 commit comments