|
@@ -28,6 +28,12 @@ jobs: |
|
|
- name: Checkout repository |
|
|
- name: Checkout repository |
|
|
uses: actions/checkout@v3 |
|
|
uses: actions/checkout@v3 |
|
|
|
|
|
|
|
|
|
|
|
- name: Login to Docker Hub |
|
|
|
|
|
uses: docker/login-action@v2 |
|
|
|
|
|
with: |
|
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }} |
|
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }} |
|
|
|
|
|
|
|
|
- name: Log in to the Container registry |
|
|
- name: Log in to the Container registry |
|
|
uses: docker/login-action@v2 |
|
|
uses: docker/login-action@v2 |
|
|
with: |
|
|
with: |
|
@@ -39,7 +45,9 @@ jobs: |
|
|
id: meta |
|
|
id: meta |
|
|
uses: docker/metadata-action@v4 |
|
|
uses: docker/metadata-action@v4 |
|
|
with: |
|
|
with: |
|
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} |
|
|
|
|
|
|
|
|
images: | |
|
|
|
|
|
${{ env.IMAGE_NAME }} |
|
|
|
|
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} |
|
|
|
|
|
|
|
|
- name: Build and push Docker image |
|
|
- name: Build and push Docker image |
|
|
uses: docker/build-push-action@v3 |
|
|
uses: docker/build-push-action@v3 |
|
|