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
failure: ignore
- name: Build and tag docker image
- name: Build and publish docker image
image: plugins/docker
settings:
dry_run: true
registry: ghcr.io
repo: ghcr.io/kevinmidboe/seasoned
repo: kevinmidboe/seasoned
dockerfile: Dockerfile
tags: latest
- name: Publish docker image
image: plugins/docker
settings:
registry: ghcr.io
repo: ghcr.io/kevinmidboe/seasoned
username:
from_secret: GITHUB_USERNAME
password: