mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-22 08:23:40 +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=raw,value=latest,enable={{is_default_branch}}
|
||||||
type=sha,enable=true,priority=100,prefix=commit-,suffix=,format=long
|
type=sha,enable=true,priority=100,prefix=commit-,suffix=,format=long
|
||||||
type=schedule,pattern=nightly
|
type=schedule,pattern=nightly
|
||||||
|
type=schedule,prefix=nightly-,pattern={{date 'YYYYMMDDhhmmss'}}
|
||||||
type=raw,prefix=branch-,value={{branch}}
|
type=raw,prefix=branch-,value={{branch}}
|
||||||
|
|
||||||
- uses: hadolint/hadolint-action@v3.1.0
|
- uses: hadolint/hadolint-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
|
@ -126,8 +126,8 @@ jobs:
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: quay.io
|
registry: quay.io
|
||||||
username: ${{ secrets.RHQCR_BOT_USERNAME }}
|
username: ajhalili2006
|
||||||
password: ${{ secrets.RHQCR_BOT_TOKEN }}
|
password: ${{ secrets.RHQCR_PASSWORD }}
|
||||||
|
|
||||||
# Extract metadata (tags, labels) for Docker
|
# Extract metadata (tags, labels) for Docker
|
||||||
# https://github.com/docker/metadata-action
|
# https://github.com/docker/metadata-action
|
||||||
|
@ -137,10 +137,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ env.IMAGE_NAME }}/devenv
|
ghcr.io/${{ env.IMAGE_NAME }}/devenv
|
||||||
|
quay.io/gitpodified-workspace-images/mkdocs-deps
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable={{is_default_branch}}
|
type=raw,value=latest,enable={{is_default_branch}}
|
||||||
type=sha,enable=true,priority=100,prefix=commit-,suffix=,format=long
|
type=sha,enable=true,priority=100,prefix=commit-,suffix=,format=long
|
||||||
type=schedule,pattern=nightly
|
type=schedule,pattern=nightly
|
||||||
|
type=schedule,prefix=nightly-,pattern={{date 'YYYYMMDDhhmmss'}}
|
||||||
type=raw,prefix=branch-,value={{branch}}
|
type=raw,prefix=branch-,value={{branch}}
|
||||||
|
|
||||||
- uses: hadolint/hadolint-action@v3.1.0
|
- uses: hadolint/hadolint-action@v3.1.0
|
||||||
|
|
Loading…
Reference in a new issue