test upload
This commit is contained in:
parent
4650e6e20e
commit
4bcffaafb9
30
.semaphore/upload.yml
Normal file
30
.semaphore/upload.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
version: v1.0
|
||||
name: Pipeline 3
|
||||
agent:
|
||||
machine:
|
||||
type: e1-standard-2
|
||||
os_image: ubuntu1804
|
||||
blocks:
|
||||
- name: Upload
|
||||
task:
|
||||
jobs:
|
||||
- name: 'Alpine Upload'
|
||||
commands:
|
||||
- checkout
|
||||
- cd alpine
|
||||
- artifact pull workflow postal-alpine-container.tar
|
||||
- docker load -i postal-alpine-container.tar
|
||||
- echo "$DOCKER_GITHUB_PASS" | docker login docker.pkg.github.com -u "$DOCKER_GITHUB_USER" --password-stdin
|
||||
- docker tag catdeployed/postal:alpine docker.pkg.github.com/CatDeployed/docker-postal/postal:alpine
|
||||
- docker tag catdeployed/postal:alpine docker.pkg.github.com/CatDeployed/docker-postal/postal:latest
|
||||
- docker push docker.pkg.github.com/CatDeployed/docker-postal/postal:alpine
|
||||
- docker push docker.pkg.github.com/CatDeployed/docker-postal/postal:latest
|
||||
- name: 'Ubuntu Upload'
|
||||
commands:
|
||||
- checkout
|
||||
- cd ubuntu
|
||||
- artifact pull workflow postal-ubuntu-container.tar
|
||||
- docker load -i postal-ubuntu-container.tar
|
||||
- echo "$DOCKER_GITHUB_PASS" | docker login docker.pkg.github.com -u "$DOCKER_GITHUB_USER" --password-stdin
|
||||
- docker tag catdeployed/postal:ubuntu docker.pkg.github.com/CatDeployed/docker-postal/postal:ubuntu
|
||||
- docker push docker.pkg.github.com/CatDeployed/docker-postal/postal:ubuntu
|
Loading…
Reference in New Issue
Block a user