chore: rename for blink labs
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
env:
REGISTRY: ghcr.io
IMAGE_NAME: cloudstruct/cardano-node
IMAGE_NAME: blinklabs/cardano-node
jobs:
build-amd64:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: qemu
uses: docker/[email protected]
- uses: docker/[email protected]
uses: docker/[email protected]
- uses: docker/[email protected]
- uses: actions/[email protected]
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-${{ runner.arch }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-buildx-
- id: meta
uses: docker/[email protected]
uses: docker/[email protected]
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: |
latest=false
suffix=-amd64
- name: build
uses: docker/[email protected]
uses: docker/[email protected]
with:
context: .
push: false
steps:
- uses: actions/[email protected]
- name: qemu
uses: docker/[email protected]
- uses: docker/[email protected]
uses: docker/[email protected]
- uses: docker/[email protected]
- uses: actions/[email protected]
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-${{ runner.arch }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-buildx-
- id: meta
uses: docker/[email protected]
uses: docker/[email protected]
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: |
latest=false
suffix=-arm64v8
- name: build
uses: docker/[email protected]
uses: docker/[email protected]
with:
context: .
push: false
concurrency: ${{ github.ref }}
env:
IMAGE_NAME: cloudstruct/cardano-node
DOCKER_IMAGE_NAME: blinklabs/cardano-node
GHCR_IMAGE_NAME: ghcr.io/blinklabs-io/cardano-node
jobs:
packages: write
steps:
- uses: actions/[email protected]
- uses: docker/[email protected]
- uses: docker/[email protected]
- name: Login to Docker Hub
uses: docker/[email protected]
uses: docker/[email protected]
with:
username: cloudstruct
username: blinklabs
password: ${{ secrets.DOCKER_PASSWORD }} # uses token
- name: Login to GHCR
uses: docker/[email protected]
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-buildx-
- id: meta
uses: docker/[email protected]
uses: docker/[email protected]
with:
images: |
${{ env.IMAGE_NAME }}
ghcr.io/${{ env.IMAGE_NAME }}
${{ env.GHCR_IMAGE_NAME }}
flavor: |
latest=false
suffix=-amd64
# semver
type=semver,pattern={{version}}
- name: push
uses: docker/[email protected]
uses: docker/[email protected]
with:
context: .
push: true
packages: write
steps:
- uses: actions/[email protected]
- uses: docker/[email protected]
- uses: docker/[email protected]
- name: Login to Docker Hub
uses: docker/[email protected]
uses: docker/[email protected]
with:
username: cloudstruct
username: blinklabs
password: ${{ secrets.DOCKER_PASSWORD }} # uses token
- name: Login to GHCR
uses: docker/[email protected]
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-buildx-
- id: meta
uses: docker/[email protected]
uses: docker/[email protected]
with:
images: |
${{ env.IMAGE_NAME }}
ghcr.io/${{ env.IMAGE_NAME }}
${{ env.GHCR_IMAGE_NAME }}
flavor: |
latest=false
suffix=-arm64v8
# semver
type=semver,pattern={{version}}
- name: push
uses: docker/[email protected]
uses: docker/[email protected]
with:
context: .
push: true
packages: write
steps:
- uses: actions/[email protected]
- uses: docker/[email protected]
- uses: docker/[email protected]
- name: Login to Docker Hub
uses: docker/[email protected]
uses: docker/[email protected]
with:
username: cloudstruct
username: blinklabs
password: ${{ secrets.DOCKER_PASSWORD }} # uses token
- name: Login to GHCR
uses: docker/[email protected]
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: meta-dockerhub
name: Metadata - Docker Hub
uses: docker/[email protected]
uses: docker/[email protected]
with:
images: ${{ env.IMAGE_NAME }}
images: ${{ env.DOCKER_IMAGE_NAME }}
flavor: |
latest=false
tags: |
# Only version, no revision
type=match,pattern=v(.*)-(.*),group=1
# branch
type=ref,event=branch
# semver
type=semver,pattern={{version}}
- id: meta-dockerhub-tag
name: Metadata - Docker Hub (Tags)
uses: docker/[email protected]
uses: docker/[email protected]
with:
images: |
${{ env.IMAGE_NAME }}
${{ env.DOCKER_IMAGE_NAME }}
flavor: |
latest=false
tags: |
# Only version, no revision
type=match,pattern=v(.*)-(.*),group=1
- id: meta-ghcr
name: Metadata - GHCR
uses: docker/[email protected]
uses: docker/[email protected]
with:
images: ghcr.io/${{ env.IMAGE_NAME }}
images: ${{ env.GHCR_IMAGE_NAME }}
flavor: |
latest=false
tags: |
# Only version, no revision
type=match,pattern=v(.*)-(.*),group=1
# branch
type=ref,event=branch
# semver
type=semver,pattern={{version}}
- id: meta-ghcr-tag
name: Metadata - GHCR (Tags)
uses: docker/[email protected]
uses: docker/[email protected]
with:
images: |
ghcr.io/${{ env.IMAGE_NAME }}
${{ env.GHCR_IMAGE_NAME }}
flavor: |
latest=false
tags: |
run: docker manifest create ${{ steps.meta-ghcr.outputs.tags }} --amend ${{ steps.meta-ghcr.outputs.tags }}-amd64 --amend ${{ steps.meta-ghcr.outputs.tags }}-arm64v8
# Optional manifest for latest
- name: manifest-dockerhub-latest
run: docker manifest create ${{ env.IMAGE_NAME }}:latest --amend ${{ steps.meta-dockerhub.outputs.tags }}-amd64 --amend ${{ steps.meta-dockerhub.outputs.tags }}-arm64v8
run: docker manifest create ${{ env.DOCKER_IMAGE_NAME }}:latest --amend ${{ steps.meta-dockerhub.outputs.tags }}-amd64 --amend ${{ steps.meta-dockerhub.outputs.tags }}-arm64v8
if: startsWith(github.ref, 'refs/tags/')
- name: manifest-ghcr-latest
run: docker manifest create ghcr.io/${{ env.IMAGE_NAME }}:latest --amend ${{ steps.meta-ghcr.outputs.tags }}-amd64 --amend ${{ steps.meta-ghcr.outputs.tags }}-arm64v8
run: docker manifest create ${{ env.GHCR_IMAGE_NAME }}:latest --amend ${{ steps.meta-ghcr.outputs.tags }}-amd64 --amend ${{ steps.meta-ghcr.outputs.tags }}-arm64v8
if: startsWith(github.ref, 'refs/tags/')
# Optional manifest for tag versions (includes revisions)
- name: manifest-dockerhub-tags
- name: push-ghcr
run: docker manifest push ${{ steps.meta-ghcr.outputs.tags }}
- name: push-dockerhub-latest
run: docker manifest push ${{ env.IMAGE_NAME }}:latest
run: docker manifest push ${{ env.DOCKER_IMAGE_NAME }}:latest
if: startsWith(github.ref, 'refs/tags/')
- name: push-ghcr-latest
run: docker manifest push ghcr.io/${{ env.IMAGE_NAME }}:latest
run: docker manifest push ${{ env.GHCR_IMAGE_NAME }}:latest
if: startsWith(github.ref, 'refs/tags/')
- name: push-dockerhub-tags
run: docker manifest push ${{ steps.meta-dockerhub-tag.outputs.tags }}
- name: Docker Hub Description
uses: peter-evans/[email protected]
with:
MIT License
Copyright (c) 2022 CloudStruct
Copyright (c) 2022 CloudStruct, LLC.
Copyright (c) 2023 Blink Labs, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Bumps [bech32](https://github.com/rust-bitcoin/rust-bech32) from 0.8.1 to 0.9.1. - [Changelog](https://github.com/rust-bitcoin/rust-bech32/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-bitcoin/rust-bech32/compare/v0.8.1...v0.9.1) --- updated-dependencies: - dependency-name: bech32 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [log](https://github.com/rust-lang/log) from 0.4.17 to 0.4.18. - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.17...0.4.18) --- updated-dependencies: - dependency-name: log dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.28.1 to 1.28.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.1...tokio-1.28.2) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PLT-5901 Implemented checks for valid network addresses.
fix: tuple clause must preserve previous clause properties state
fix: rearrange clauses and fill in gaps now handles nested patterns in a uniform way fix: discards in records was being sorted incorrectly leading to type issues chore: remove some filter maps in cases where None is impossible anyway chore: some refactoring on a couple functions to clean up
fix: tuple clause must preserve previous clause properties state