add build commands
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2020-01-17 01:34:14 +01:00
parent 5627f9be98
commit 822b0437ad
3 changed files with 10 additions and 10 deletions

View File

@ -31,7 +31,7 @@ local PipelineBuild(arch='amd64') = {
settings: { settings: {
dry_run: true, dry_run: true,
dockerfile: './Dockerfile.' + arch, dockerfile: './Dockerfile.' + arch,
repo: 'xoxys/freshrss', repo: 'xoxys/bitwardenrs',
username: { from_secret: 'docker_username' }, username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' }, password: { from_secret: 'docker_password' },
}, },
@ -43,7 +43,7 @@ local PipelineBuild(arch='amd64') = {
auto_tag: true, auto_tag: true,
auto_tag_suffix: arch, auto_tag_suffix: arch,
dockerfile: './Dockerfile.' + arch, dockerfile: './Dockerfile.' + arch,
repo: 'xoxys/freshrss', repo: 'xoxys/bitwardenrs',
username: { from_secret: 'docker_username' }, username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' }, password: { from_secret: 'docker_password' },
}, },
@ -103,9 +103,9 @@ local PipelineNotifications(depends_on=[]) = {
DOCKERHUB_USERNAME: { from_secret: 'docker_username' }, DOCKERHUB_USERNAME: { from_secret: 'docker_username' },
DOCKERHUB_PASSWORD: { from_secret: 'docker_password' }, DOCKERHUB_PASSWORD: { from_secret: 'docker_password' },
DOCKERHUB_REPO_PREFIX: 'xoxys', DOCKERHUB_REPO_PREFIX: 'xoxys',
DOCKERHUB_REPO_NAME: 'freshrss', DOCKERHUB_REPO_NAME: 'bitwardenrs',
README_PATH: 'README.md', README_PATH: 'README.md',
SHORT_DESCRIPTION: 'Rootless FreshRSS - Self-hosted RSS feed aggregator', SHORT_DESCRIPTION: 'Rootless bitwardenrs - Self-hosted RSS feed aggregator',
}, },
when: { when: {
ref: [ ref: [

View File

@ -29,7 +29,7 @@ steps:
dry_run: true dry_run: true
password: password:
from_secret: docker_password from_secret: docker_password
repo: xoxys/freshrss repo: xoxys/bitwardenrs
username: username:
from_secret: docker_username from_secret: docker_username
@ -41,7 +41,7 @@ steps:
dockerfile: ./Dockerfile.amd64 dockerfile: ./Dockerfile.amd64
password: password:
from_secret: docker_password from_secret: docker_password
repo: xoxys/freshrss repo: xoxys/bitwardenrs
username: username:
from_secret: docker_username from_secret: docker_username
when: when:
@ -95,12 +95,12 @@ steps:
environment: environment:
DOCKERHUB_PASSWORD: DOCKERHUB_PASSWORD:
from_secret: docker_password from_secret: docker_password
DOCKERHUB_REPO_NAME: freshrss DOCKERHUB_REPO_NAME: bitwardenrs
DOCKERHUB_REPO_PREFIX: xoxys DOCKERHUB_REPO_PREFIX: xoxys
DOCKERHUB_USERNAME: DOCKERHUB_USERNAME:
from_secret: docker_username from_secret: docker_username
README_PATH: README.md README_PATH: README.md
SHORT_DESCRIPTION: Rootless FreshRSS - Self-hosted RSS feed aggregator SHORT_DESCRIPTION: Rootless bitwardenrs - Self-hosted RSS feed aggregator
when: when:
ref: ref:
- refs/heads/master - refs/heads/master

View File

@ -4,12 +4,12 @@ tags:
{{#each build.tags}} {{#each build.tags}}
{{#if this}} {{#if this}}
- {{trimPrefix "v" this}} - {{trimPrefix "v" this}}
- {{trimPrefix "v" this}}-linux-amd64 - {{trimPrefix "v" this}}-amd64
{{/if}} {{/if}}
{{/each}} {{/each}}
{{/if}} {{/if}}
manifests: manifests:
- image: xoxys/bitwardenrs:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64 - image: xoxys/bitwardenrs:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}amd64
platform: platform:
architecture: amd64 architecture: amd64
os: linux os: linux