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 9f1697b commit 96f3e9fCopy full SHA for 96f3e9f
.github/workflows/build_docker.yml
@@ -0,0 +1,26 @@
1
+on:
2
+ release:
3
+ types: [published]
4
+
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout
10
+ uses: actions/checkout@v2
11
+ with:
12
+ fetch-depth: 0
13
+ - name: Set up QEMU
14
+ uses: docker/setup-qemu-action@v2
15
+ - name: Set up Docker Buildx
16
+ uses: docker/setup-buildx-action@v2
17
+ - name: Login to Docker Hub
18
+ uses: docker/login-action@v2
19
20
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
21
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
22
+ - name: Build and push
23
+ uses: docker/build-push-action@v4
24
25
+ push: true
26
+ tags: emurgornd/wordpress:latest,emurgornd/wordpress:${{ github.ref_name }}
0 commit comments