Update docker-build.yaml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Build and Push Docker Image / build (push) Successful in 16s

This commit is contained in:
Corban-Lee Jones 2024-08-11 19:40:16 +01:00
parent d9d71b68a5
commit b4cd1c32c5

View File

@ -13,13 +13,16 @@ jobs:
run: |
docker build -t pyrss-website:latest .
# - name: Login to Dockerhub
# run:
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_TOKEN }}
# logout: true
- name: Login to Dockerhub
run:
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
logout: true
run: echo ${{ secrets.DOCKER_TOKEN }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Tag & Push Docker image
run: |