Skip to content

fix(release): init containers volume mounts #97

fix(release): init containers volume mounts

fix(release): init containers volume mounts #97

Workflow file for this run

name: Build and publish Docker image
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
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: buildjet-4vcpu-ubuntu-2204
if: |
(github.event_name == 'release' && github.event.action == 'published') ||
github.ref == 'refs/heads/main' ||
(github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository)
steps:
- uses: actions/checkout@v4
- name: Build and push Fuel Core NATS image
uses: ./.github/actions/docker-publish
id: publish
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
image: ghcr.io/fuellabs/fuel-core-nats
dockerfile: docker/fuel-core-nats.Dockerfile