Error with step Build/Publish image in job (OD-538)
bufferUnderrun opened 4 years ago

Maybe i'm not using it correctly ?

image.png

My repo contains a Dockerfile and this is my buildspec

version: 15
jobs:
- name: CI
  jobExecutor: docker-executor
  steps:
  - !CheckoutStep
    name: checkout
    cloneCredential: !DefaultCredential {}
    withLfs: false
    withSubmodules: false
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  - !BuildImageStep
    name: test
    tags: '1.0'
    publish: false
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  retryCondition: never
  maxRetries: 3
  retryDelay: 30
  cpuRequirement: 500
  memoryRequirement: 256
  timeout: 3600

Thanks for your help

  • Robin Shen commented 4 years ago

    This is a bug, please specify Dockerfile for the BuildImageStep instead of leaving it empty.

  • OneDev changed state to 'Closed' 4 years ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 4 years ago

    State changed as code fixing the issue is committed

  • Robin Shen commented 4 years ago

    Also the tag needs to be specified in full name, for instance <tt>myregistry:5000/myorg/myrepo:1.0.0</tt>

  • OneDev changed state to 'Released' 4 years ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 4 years ago

    State changed as build #2237 is successful

issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
Not Found
Issue Votes (0)
Watchers (2)
Reference
OD-538
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover