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 ]
jobs:
sp-cli:
connector-cli-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

View File

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

View File

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

View File

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