Working on CI/CD
This commit is contained in:
parent
db2d68ab1d
commit
fe9fa238e1
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@ -13,8 +13,12 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Docker login
|
|
||||||
run: docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" -p "${{ secrets.DOCKERHUB_TOKEN }}"
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push Docker images
|
- name: Build and push Docker images
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user