mirror of
https://github.com/wiiu-env/WiiUModuleSystem.git
synced 2024-11-16 06:49:20 +01:00
Publish dev docker images
This commit is contained in:
parent
f0dbd47aad
commit
541fc00a8d
8
.github/workflows/push_image.yml
vendored
8
.github/workflows/push_image.yml
vendored
@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- '*-dev'
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
@ -24,9 +25,10 @@ jobs:
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
tags: |
|
||||
type=raw,value={{date 'YYYYMMDD'}}-{{sha}}
|
||||
type=raw,value={{date 'YYYYMMDD'}}
|
||||
type=raw,value=latest
|
||||
type=raw,value={{branch}}-{{date 'YYYYMMDD'}}-{{sha}},enable=${{ github.ref != format('refs/heads/{0}', 'main') }}
|
||||
type=raw,value={{date 'YYYYMMDD'}}-{{sha}},enable={{is_default_branch}}
|
||||
type=raw,value={{date 'YYYYMMDD'}},enable={{is_default_branch}}
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
- name: Log into registry ${{ env.REGISTRY }}
|
||||
uses: docker/login-action@v2.1.0
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user