Skip to content

Commit e433bb6

Browse files
committed
Correct docker hub login
1 parent 4263ce3 commit e433bb6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: .github/workflows/main.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ jobs:
113113
name: "Build the package for Manylinux 2.28"
114114
runs-on: ubuntu-latest
115115
steps:
116+
-
117+
name: Login to Docker Hub
118+
uses: docker/login-action@v2
119+
with:
120+
username: ${{ secrets.AYMARA_DOCKERHUB_USERNAME }}
121+
password: ${{ secrets.AYMARA_DOCKERHUB_TOKEN }}
122+
116123
- name: Checkout code
117124
uses: actions/checkout@v3
118125
- name: Free Disk Space (Ubuntu)
@@ -130,12 +137,5 @@ jobs:
130137
swap-storage: true
131138
- name: Build image
132139
run: docker build -f ./Dockerfile-manylinux2.28 -t aymara/qhttpserver-manylinux2.28-qt${QT_VERSION}:latest .
133-
-
134-
name: Login to Docker Hub
135-
uses: docker/login-action@v2
136-
with:
137-
username: ${{ secrets.AYMARA_DOCKERHUB_USERNAME }}
138-
password: ${{ secrets.AYMARA_DOCKERHUB_TOKEN }}
139-
140140
- name: "Push image"
141141
run: docker push aymara/qhttpserver-manylinux2.28-qt${QT_VERSION}:latest

0 commit comments

Comments
 (0)