We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3e7464 commit 1fa1d6dCopy full SHA for 1fa1d6d
.github/workflows/publish-docker-image.yml
@@ -0,0 +1,33 @@
1
+name: Publish Docker Image
2
+
3
+on:
4
+ push:
5
+ branches: [ "trunk" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ name: Login to Docker Hub
15
+ uses: docker/login-action@v3
16
+ with:
17
+ registry: ghcr.io
18
+ username: ${{ github.actor }}
19
+ password: ${{ secrets.GITHUB_TOKEN }}
20
21
+ -
22
+ name: Set up QEMU
23
+ uses: docker/setup-qemu-action@v3
24
25
+ name: Set up Docker Buildx
26
+ uses: docker/setup-buildx-action@v3
27
28
+ name: Build and push
29
+ uses: docker/build-push-action@v6
30
31
+ context: "{{defaultContext}}:wp_rs_web"
32
+ push: true
33
+ tags: automattic/wordpress-rs-web:latest
0 commit comments