We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1da1737 commit de8c940Copy full SHA for de8c940
.github/workflows/pr.yaml
@@ -5,6 +5,10 @@ on:
5
branches:
6
- "master"
7
8
+env:
9
+ IMAGE_NAME: "nventiveux/syncthing"
10
+ DOCKER_BUILDKIT: "1"
11
+
12
jobs:
13
lint:
14
name: "Linting"
@@ -34,6 +38,12 @@ jobs:
34
38
with:
35
39
install: true
36
40
41
+ - name: "Login to DockerHub"
42
+ uses: "docker/login-action@v2"
43
+ with:
44
+ username: "${{ secrets.DOCKER_USERNAME }}"
45
+ password: "${{ secrets.DOCKER_PASSWORD }}"
46
37
47
- name: "Build images"
48
uses: "docker/build-push-action@v3"
49
@@ -42,4 +52,4 @@ jobs:
52
file: "./Dockerfile"
53
platforms: "linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6"
54
push: true
- tags: "pr-${{ github.event.number }}"
55
+ tags: "${{ env.IMAGE_NAME }}:pr-${{ github.event.number }}"
0 commit comments