Gotta have a docker, bro.
continuous-integration/drone Build is failing Details

master
josiah 1 year ago
parent 7888174bad
commit 68d3f524be

@ -8,7 +8,8 @@ name: Update image
## This requires secrets! I gotta be able to login to my own package repo. ## This requires secrets! I gotta be able to login to my own package repo.
steps: steps:
- name: greeting
- name: Pull secret image and upload an updated copy to my package repo.
image: alpine image: alpine
environment: environment:
USERNAME: USERNAME:
@ -17,7 +18,8 @@ steps:
from_secret: gitea-key from_secret: gitea-key
IMAGE: IMAGE:
from_secret: secret-image from_secret: secret-image
commands: commands:
- apk add docker
- docker login --username=$USERNAME --password=$PASSWORD git.awful.club - docker login --username=$USERNAME --password=$PASSWORD git.awful.club
- docker pull $IMAGE - docker pull $IMAGE
- docker image tag {{ secret image name }} {{git.awful.club/packages/my_new_package}} - docker image tag {{ secret image name }} {{git.awful.club/packages/my_new_package}}

Loading…
Cancel
Save