From 844b9b6fb36f761df89b1c84741542c5f032a9e1 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Wed, 27 Sep 2023 16:35:52 +0000 Subject: [PATCH] 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 --- .github/workflows/docker.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5f5c694..aef0924 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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