Joined docker build & publish steps

This commit is contained in:
2022-08-13 13:18:43 +02:00
parent 88edc03b8b
commit eeac27370b

View File

@@ -29,20 +29,12 @@ steps:
- yarn lint - yarn lint
failure: ignore failure: ignore
- name: Build and tag docker image - name: Build and publish docker image
image: plugins/docker image: plugins/docker
settings: settings:
dry_run: true
registry: ghcr.io registry: ghcr.io
repo: ghcr.io/kevinmidboe/seasoned repo: kevinmidboe/seasoned
dockerfile: Dockerfile dockerfile: Dockerfile
tags: latest
- name: Publish docker image
image: plugins/docker
settings:
registry: ghcr.io
repo: ghcr.io/kevinmidboe/seasoned
username: username:
from_secret: GITHUB_USERNAME from_secret: GITHUB_USERNAME
password: password: