We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2490475 commit 74642e9Copy full SHA for 74642e9
1 file changed
.github/workflows/prod.yml
@@ -12,12 +12,16 @@ jobs:
12
- name: Checkout Repository
13
uses: actions/checkout@v3
14
15
- - name: Build and deploy
+ - name: Log in to Docker Hub
16
+ uses: docker/login-action@v2
17
+ with:
18
+ username: ${{ secrets.DOCKER_USERNAME }}
19
+ password: ${{ secrets.DOCKER_PASSWORD }}
20
+
21
+ - name: Build and push image
22
env:
23
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
- DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
24
run: |
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
25
echo "Building and pushing docker image"
26
docker build -t $DOCKER_USERNAME/autoplan:latest .
27
docker push $DOCKER_USERNAME/autoplan:latest
0 commit comments