Skip to content

Commit 91b36b2

Browse files
committed
GitHub: use vendored actions for steps with sensitive info
To avoid leaking any sensitive information like Docker Hub credentials because of compromised actions repositories, we use our own, vendored actions for all steps that potentially touch sensitive information.
1 parent 3550580 commit 91b36b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Set up QEMU
22-
uses: docker/setup-qemu-action@v1
22+
uses: lightninglabs/gh-actions/setup-qemu-action@2021.01.25.00
2323

2424
- name: Set up Docker Buildx
25-
uses: docker/setup-buildx-action@v1
25+
uses: lightninglabs/gh-actions/setup-buildx-action@2021.01.25.00
2626

2727
- name: Login to DockerHub
28-
uses: docker/login-action@v1
28+
uses: lightninglabs/gh-actions/login-action@2021.01.25.00
2929
with:
3030
username: ${{ secrets.DOCKER_USERNAME }}
3131
password: ${{ secrets.DOCKER_API_KEY }}
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: Build and push
3737
id: docker_build
38-
uses: docker/build-push-action@v2
38+
uses: lightninglabs/gh-actions/build-push-action@2021.01.25.00
3939
with:
4040
push: true
4141
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)