Skip to content

biuld(repo): fix docker images #443

biuld(repo): fix docker images

biuld(repo): fix docker images #443

Workflow file for this run

name: Build and publish Docker image
on:
workflow_dispatch:
push:
branches:
- main
- cluster-test
release:
types:
- published
permissions:
contents: read
packages: write
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-and-publish-image:
runs-on: ubuntu-latest
strategy:
matrix:
package:
# - fuel-streams-publisher
- sv-consumer
- sv-emitter
steps:
- uses: actions/checkout@v4
- name: Get short SHA
id: sha
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build and push Docker (${{ steps.sha.outputs.short_sha }})
uses: ./.github/actions/docker-publish
id: publish
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
image: ghcr.io/fuellabs/${{ matrix.package }}
dockerfile: cluster/docker/${{ matrix.package }}.Dockerfile