You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
532 B

  1. name: "Build for PRe"
  2. description: "Builds a docker image without pushing"
  3. inputs:
  4. service:
  5. description: "Service to build"
  6. required: true
  7. registry_endpoint:
  8. description: "Image registry repo e.g. myacr.azureacr.io/eshop"
  9. required: true
  10. runs:
  11. using: "composite"
  12. steps:
  13. - name: Compose build ${{ inputs.service }}
  14. shell: bash
  15. run: sudo -E docker-compose build ${{ inputs.service }}
  16. working-directory: ./src
  17. env:
  18. TAG: ${{ env.BRANCH }}
  19. REGISTRY: ${{ inputs.registry_endpoint }}