We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3f0b4 commit 43d9130Copy full SHA for 43d9130
.github/workflows/publish.yml
@@ -0,0 +1,36 @@
1
+name: Build and publish images
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ docker:
10
+ runs-on: ubuntu-latest
11
12
+ strategy:
13
+ matrix:
14
+ include:
15
+ - tag: "8.2"
16
+ php: "8.2"
17
+ - tag: "8.1"
18
+ php: "8.1"
19
+ - tag: "8.0"
20
+ php: "8.0"
21
22
+ steps:
23
+ - uses: actions/checkout@v3
24
25
+ - name: Login to DockerHub
26
+ uses: docker/login-action@v2
27
+ with:
28
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
29
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
30
31
+ - name: Build and push
32
+ uses: docker/build-push-action@v6
33
34
+ push: true
35
+ context: ${{ matrix.php }}
36
+ tags: ocreaper/php-nvm:${{ matrix.tag }}
0 commit comments