mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-25 01:43:41 +00:00
ci(github-actions): push workspace image to @gitpodify's RHQCR namespace
Also add some timestamped nightly tag for versioning nightly builds. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
4a7a5c21e2
commit
844b9b6fb3
1 changed files with 5 additions and 3 deletions
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
|
@ -68,8 +68,8 @@ jobs:
|
|||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
type=sha,enable=true,priority=100,prefix=commit-,suffix=,format=long
|
||||
type=schedule,pattern=nightly
|
||||
type=schedule,prefix=nightly-,pattern={{date 'YYYYMMDDhhmmss'}}
|
||||
type=raw,prefix=branch-,value={{branch}}
|
||||
|
||||
- uses: hadolint/hadolint-action@v3.1.0
|
||||
with:
|
||||
dockerfile: docker/Dockerfile
|
||||
|
@ -126,8 +126,8 @@ jobs:
|
|||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: quay.io
|
||||
username: ${{ secrets.RHQCR_BOT_USERNAME }}
|
||||
password: ${{ secrets.RHQCR_BOT_TOKEN }}
|
||||
username: ajhalili2006
|
||||
password: ${{ secrets.RHQCR_PASSWORD }}
|
||||
|
||||
# Extract metadata (tags, labels) for Docker
|
||||
# https://github.com/docker/metadata-action
|
||||
|
@ -137,10 +137,12 @@ jobs:
|
|||
with:
|
||||
images: |
|
||||
ghcr.io/${{ env.IMAGE_NAME }}/devenv
|
||||
quay.io/gitpodified-workspace-images/mkdocs-deps
|
||||
tags: |
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
type=sha,enable=true,priority=100,prefix=commit-,suffix=,format=long
|
||||
type=schedule,pattern=nightly
|
||||
type=schedule,prefix=nightly-,pattern={{date 'YYYYMMDDhhmmss'}}
|
||||
type=raw,prefix=branch-,value={{branch}}
|
||||
|
||||
- uses: hadolint/hadolint-action@v3.1.0
|
||||
|
|
Loading…
Reference in a new issue