Skip to content

Commit 852027b

Browse files
authored
Update docker-image.yml
1 parent 38a2b71 commit 852027b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/docker-image.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ jobs:
1212
AWS1: ${{ secrets.AWS1 }}
1313
AWS2: ${{ secrets.AWS2 }}
1414
steps:
15-
- name: Check Out Repo
16-
uses: actions/checkout@v4
15+
- name: Check Out Repo
16+
uses: actions/checkout@v4
1717

18-
- name: Log in to Docker Hub
19-
uses: docker/login-action@v3
20-
with:
21-
username: ${{ secrets.DOCKER_USERNAME }}
22-
password: ${{ secrets.DOCKER_PASSWORD }}
18+
- name: Login to Docker Hub
19+
uses: docker/login-action@v3
20+
with:
21+
username: ${{ vars.DOCKERHUB_USERNAME }}
22+
password: ${{ secrets.DOCKERHUB_TOKEN }}
2323

24-
- name: Build and push Docker images
25-
uses: docker/[email protected]
26-
with:
27-
context: .
28-
file: ./container/Dockerfile
29-
push: true
30-
tags: unlux/transcoding:latest
24+
- name: Build and Push Docker Images
25+
uses: docker/[email protected]
26+
with:
27+
context: .
28+
file: ./container/Dockerfile
29+
push: true
30+
tags: unlux/transcoding:latest
3131

32-
- name: Verify Pushed Image
33-
run: docker pull unlux/transcoding:latest
32+
- name: Verify Pushed Image
33+
run: docker pull unlux/transcoding:latest

0 commit comments

Comments
 (0)