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.
28 lines
625 B
28 lines
625 B
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: build
|
|
image:
|
|
from_secret: secret-image
|
|
volumes:
|
|
- name: dockersock
|
|
path: /var/run
|
|
environment:
|
|
DOCKER_PASSWORD:
|
|
from_secret: gitea-key
|
|
SECRET_IMAGE:
|
|
from_secret: secret-image
|
|
commands:
|
|
- sleep 5 # give docker enough time to start
|
|
- echo $DOCKER_PASSWORD | docker login --username jowj --password-stdin git.awful.club
|
|
- docker image tag $SECRET_IMAGE git.awful.club/packages/hoard
|
|
- docker push git.awful.club/packages/hoard
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|