File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push
3
+
4
+ jobs :
5
+ docker :
6
+ name : Create Heroku Docker Image
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout
10
+ uses : actions/checkout@v4
11
+ - name : Set up QEMU
12
+ uses : docker/setup-qemu-action@v3
13
+ - name : Set up Docker Buildx
14
+ uses : docker/setup-buildx-action@v3
15
+ - name : Login to Docker Hub
16
+ uses : docker/login-action@v3
17
+ with :
18
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
19
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
20
+ - name : Build and push
21
+ uses : docker/build-push-action@v6
22
+ with :
23
+ context : .
24
+ platforms : linux/amd64,linux/arm64
25
+ push : true
26
+ tags : sharinpix/docker-pdfjs:${{ (github.ref == 'refs/heads/main') && 'latest' || format('pr-gh-{0}', github.run_number) }}
You can’t perform that action at this time.
0 commit comments