PLTCONN-1788: Clean up

This commit is contained in:
fangming-ning-sp
2022-08-19 11:30:51 -05:00
parent 06806d93ab
commit d6a5094f10
4 changed files with 6 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ on:
branches: [ main ] branches: [ main ]
jobs: jobs:
sp-cli: connector-cli-linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@@ -2,9 +2,8 @@ name: Release
on: on:
push: push:
branches: [ main ] tags:
pull_request: - '*'
branches: [ main ]
env: env:
REF: ${{ github.event.inputs.tag || github.ref }} REF: ${{ github.event.inputs.tag || github.ref }}
@@ -21,7 +20,7 @@ jobs:
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
username: ${{ secrets.DOCKER_USERNAME}} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Run GoReleaser - name: Run GoReleaser

View File

@@ -17,7 +17,7 @@ archives:
dockers: dockers:
- image_templates: - image_templates:
- sailpoint/connector-cli:0.0.1 - sailpoint/connector-cli:{{.Tag}}
use: buildx use: buildx
dockerfile: Dockerfile dockerfile: Dockerfile
build_flag_templates: build_flag_templates:

View File

@@ -16,5 +16,5 @@ RUN apk add --no-cache \
ADD . /app ADD . /app
WORKDIR /app WORKDIR /app
# Copy cli binary to correct location # Copy cli to bin location
RUN cp connector-cli /usr/local/bin/sp RUN cp connector-cli /usr/local/bin/sp