I am working on writing a workflow in GIT. I am using yaml file and running the docker file. For some reason, on the Azure Container Registry, it is creating a Artifact instead of Docker Image. I tried changes context on the yaml file but it did not help. Does anyone know why its creating an artifact instead of a docker image. I am able to create the docker image locally.
Following is from yaml file:
- name: Build and Push Docker image
uses: docker/build-push-action@v4
with:
context: .
file: src/WebApi/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
NODE_AUTH_TOKEN
NODE_MAJOR_VERSION
secret-files: |
nugetconfig=../nuget.config
env:
NODE_AUTH_TOKEN: ${{ github.token }}
NODE_MAJOR_VERSION: ${{ vars.NODE_VERSION }}
Thank you,
Kim
Expecting to have docker image on Azure Registry.
Kim Jordan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.