Skip to content

build(deps-dev): bump credo from 1.7.7 to 1.7.10 (#16) #15

build(deps-dev): bump credo from 1.7.7 to 1.7.10 (#16)

build(deps-dev): bump credo from 1.7.7 to 1.7.10 (#16) #15

Workflow file for this run

name: Nightly Build
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
env:
RELEASE: resource-kit-cli
jobs:
build:
timeout-minutes: 30
name: Build
runs-on: image-builder
steps:
- name: Buildx
uses: Byzanteam/jet-actions/setup-multi-platform-buildx@main
- name: Login GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Metadata
id: metadata
uses: docker/metadata-action@v4
with:
images: ghcr.io/byzanteam/${{ env.RELEASE }}
tags: |
type=raw,value=nightly,enable={{is_default_branch}}
type=sha
- name: Build and Push
uses: docker/build-push-action@v4
with:
cache-from: type=registry,ref=ghcr.io/byzanteam/${{ env.RELEASE }}:buildcache
cache-to: type=registry,ref=ghcr.io/byzanteam/${{ env.RELEASE }}:buildcache,mode=max
platforms: linux/amd64,linux/arm64
push: true
labels: ${{ steps.metadata.outputs.labels }}
tags: ${{ steps.metadata.outputs.tags }}
build-args: |
APP_VERSION=${{ fromJSON(steps.metadata.outputs.json).labels['org.opencontainers.image.version'] }}
APP_REVISION=${{ fromJSON(steps.metadata.outputs.json).labels['org.opencontainers.image.revision'] }}