login to dockerhub
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Build and Push Docker Image / build (push) Failing after 2m34s

This commit is contained in:
Corban-Lee Jones 2024-08-11 18:49:10 +01:00
parent ec415e64f8
commit 462176cf23

View File

@ -13,10 +13,14 @@ jobs:
run: |
docker build -t pyrss-website:latest .
- name: Push Docker image
run: |
docker tag pyrss-website:latest xordk/pyrss-website:latest
docker push xordk/pyrss-website:latest
- name: Login to Dockerhub
run:
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_PASSWORD }}
password: ${{ secrets.DOCKER_USERNAME }}
- name: Tag & Push Docker image
run: |
docker tag pyrss-website:latest xordk/pyrss-website:latest
docker push xordk/pyrss-website:latest