ci:
This commit is contained in:
parent
3d9e137c5a
commit
f6b1adccc6
@ -8,11 +8,6 @@ jobs:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Go Environment
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.20'
|
||||
|
||||
- name: Get Dependencies Index Hash
|
||||
uses: https://github.com/KEINOS/gh-action-hash-for-cache@main
|
||||
id: hash-dependencies-index
|
||||
@ -37,7 +32,8 @@ jobs:
|
||||
toolchain: stable
|
||||
override: true
|
||||
|
||||
- id: tag
|
||||
- name: Get Commit Tag
|
||||
id: tag
|
||||
uses: https://github.com/Maxyme/get-release-or-tag@v2
|
||||
|
||||
- name: Build
|
||||
@ -58,7 +54,8 @@ jobs:
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
|
||||
steps:
|
||||
- id: tag
|
||||
- name: Get Commit Tag
|
||||
id: tag
|
||||
uses: https://github.com/Maxyme/get-release-or-tag@v2
|
||||
|
||||
- id: restore-executable-binary
|
||||
@ -68,9 +65,18 @@ jobs:
|
||||
path: ./network-monitor
|
||||
key: ${{ runner.os }}-release-${{ steps.tag.outputs.tag }}
|
||||
- if: ${{ steps.restore-executable-binary.outputs.cache-hit != 'true' }}
|
||||
name: List the state of node modules
|
||||
name: Check if binary exists
|
||||
run: echo "missing program"
|
||||
|
||||
-
|
||||
# Add support for more platforms with QEMU (optional)
|
||||
# https://github.com/docker/setup-qemu-action
|
||||
name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: https://github.com/docker/login-action@v2
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user