mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-06 15:22:47 +01:00
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -125,17 +125,17 @@ jobs:
|
|||||||
with: { go-version: '1.19', cache: true }
|
with: { go-version: '1.19', cache: true }
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with: { name: ui, path: ui/dist }
|
with: { name: ui, path: ui/dist }
|
||||||
|
- name: Version
|
||||||
|
if: github.ref_type == 'tag' && github.ref_name != ''
|
||||||
|
run: |
|
||||||
|
echo ${{ github.ref_name }}
|
||||||
|
echo ${{ github.ref_name }} > VERSION
|
||||||
- run: go build -o catalyst ./cmd/catalyst/.
|
- run: go build -o catalyst ./cmd/catalyst/.
|
||||||
- uses: docker/login-action@v2
|
- uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Version
|
|
||||||
if: github.ref_type == 'tag' && github.ref_name != ''
|
|
||||||
run: |
|
|
||||||
echo ${{ github.ref_name }}
|
|
||||||
echo ${{ github.ref_name }} > VERSION
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v4
|
uses: docker/metadata-action@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user