stages: - upload upload: stage: upload tags: - docker except: refs: - main script: - make upload upload_production: stage: upload tags: - docker only: refs: - main environment: production script: - make upload