This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
2022-09-20 17:09:46 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: linux-amd64
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: publish
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
registry: gitea.dwysokinski.me
|
|
|
|
repo: gitea.dwysokinski.me/zdam-egzamin-zawodowy-docker/backend
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
dockerfile: ./build/server/Dockerfile
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: manifest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: manifest
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
|
|
|
auto_tag: "true"
|
|
|
|
ignore_missing: "true"
|
2022-09-20 17:40:34 +00:00
|
|
|
spec: ./build/server/manifest.tmpl
|
2022-09-20 17:09:46 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
- name: manifest-latest
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
|
|
|
tags: latest
|
|
|
|
ignore_missing: "true"
|
|
|
|
spec: ./build/server/manifest.tmpl
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- linux-amd64
|