Skip to content

Commit 2f910fa

Browse files
jlestelJulien
andauthored
fix: login to docker hub before build&push action (#3491)
Co-authored-by: Julien <julien@citio.digital>
1 parent 83b73a7 commit 2f910fa

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/buildx.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Buildx
4040
uses: ./.github/actions/build
4141
with:
42-
is_dockerhub_pushed: '1'
42+
is_dockerhub_pushed: "1"
4343
docker_password: ${{ secrets.DOCKER_PASSWORD }}
4444
repository_owner: ${{ github.repository_owner }}
4545
repository: ${{ github.repository }}
@@ -75,6 +75,12 @@ jobs:
7575
- name: Checkout
7676
uses: actions/checkout@v4
7777

78+
- name: Login to Docker Hub
79+
uses: docker/login-action@v3.0.0
80+
with:
81+
username: teslamate
82+
password: ${{ secrets.DOCKER_PASSWORD }}
83+
7884
- uses: ./.github/actions/grafana
7985
with:
8086
tags: |

0 commit comments

Comments
 (0)