We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af56743 commit f41fc4bCopy full SHA for f41fc4b
.github/workflows/docker-publish.yml
@@ -0,0 +1,26 @@
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
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) }}
0 commit comments