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 b5a2379 commit 44e2c59Copy full SHA for 44e2c59
.github/workflows/docker-image.yml
@@ -0,0 +1,35 @@
1
+name: Docker Image CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v2
16
17
+ - name: Set up QEMU
18
+ uses: docker/setup-qemu-action@v2
19
20
+ - name: Set up Docker Buildx
21
+ uses: docker/setup-buildx-action@v2
22
23
+ - name: Login to GitHub Container Registry
24
+ uses: docker/login-action@v2
25
+ with:
26
+ registry: ghcr.io
27
+ username: ${{ github.repository_owner }}
28
+ password: ${{ secrets.GHCR_PAT }}
29
30
+ - name: Build and push Docker image
31
+ uses: docker/build-push-action@v3
32
33
+ context: .
34
+ push: true
35
+ tags: ghcr.io/${{ github.repository_owner }}/pkmn-event-notifier:latest
0 commit comments