Deployer Woekflow changes #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Deployer image | |
on: | |
pull_request: | |
branches: | |
- main | |
env: | |
GOPRIVATE: "github.com/IBM-Blockchain/*" | |
GOPROXY: "https://proxy.golang.org,direct" | |
GOPATH: /opt/go | |
PATH: /opt/go/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin | |
GO_VER: 1.23.5 | |
jobs: | |
build-deployer-image: | |
name: Build Deployer Image | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: packages/fabric-deployer | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/setup-go@v5 | |
name: Install Go | |
with: | |
go-version: ${{ env.GO_VER }} | |
- name: Checkout fabric-deployer repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Check Go version | |
run: go version | |
- name: List repository files | |
run: ls -la | |
- name: Build | |
run: make image | |
#- name: Push | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
#run: ./docker/publish_image.sh |