name: OCI image on: push: workflow_dispatch: jobs: image: name: Build container images runs-on: docker container: git.frostfs.info/truecloudlab/env:oci-image-builder-bookworm steps: - name: Clone git repo uses: actions/checkout@v3 - name: Build OCI image run: make images - name: Push image to OCI registry run: | echo "$REGISTRY_PASSWORD" \ | docker login --username truecloudlab --password-stdin git.frostfs.info make push-images if: >- startsWith(github.ref, 'refs/tags/v') && (github.event_name == 'workflow_dispatch' || github.event_name == 'push') env: REGISTRY_PASSWORD: ${{secrets.FORGEJO_OCI_REGISTRY_PUSH_TOKEN}}