Skip to content

Commit f402480

Browse files
authored
Update main.yml
1 parent 90447b1 commit f402480

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ jobs:
3131
- name: Build and push Docker image
3232
uses: docker/build-push-action@v5
3333
with:
34-
context: . # Path to your Dockerfile, '.' for current directory
34+
context: https://github.com/D3One/Docs_DevSecOps_Vault/tree/main/Custom%20Docker%20Image # Path to your Dockerfile, '.' for current directory
3535
push: true
36-
#tags:
37-
38-
# ${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_TAG }}
39-
# ${{ env.DOCKER_IMAGE_NAME }}:latest # Optionally push with 'latest' tag
36+
tags:
37+
${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_TAG }}
38+
${{ env.DOCKER_IMAGE_NAME }}:latest # Optionally push with 'latest' tag
4039

4140
build-args: |
4241
# Add any build arguments here, e.g., MY_ARG=value

0 commit comments

Comments
 (0)