diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3b5ee03..0e5b792 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,7 @@ name: CI on: workflow_dispatch: push: - branches-ignore: + branches: - main paths-ignore: - '**/*.md' @@ -22,10 +22,10 @@ jobs: uses: actions/checkout@v2 - name: Build - run: | - docker login --username sunny-1651 --password ${{ secrets.PAT_TOKEN }} ghcr.io - make build VERSION="latest" - # - name: Test - # run: make test - # - name: Lint - # run: make lint + run: make build + env: + VERSION: latest + - name: Test + run: make test + - name: Lint + run: make lint diff --git a/Dockerfile b/Dockerfile index 2e0f321..6ec73aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /var/app RUN CGO_ENABLED=0 go build -o app . FROM alpine:3.14 -LABEL org.opencontainers.image.source https://github.com/sunny-1651/manual-approval +LABEL org.opencontainers.image.source https://github.com/trstringer/manual-approval RUN apk update && apk add ca-certificates COPY --from=builder /var/app/app /var/app/app CMD ["/var/app/app"] diff --git a/Makefile b/Makefile index dfe82a8..0db0b99 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -IMAGE_REPO=ghcr.io/sunny-1651/manual-approval +IMAGE_REPO=ghcr.io/trstringer/manual-approval .PHONY: build build: diff --git a/action.yaml b/action.yaml index 9433e66..7866c0b 100644 --- a/action.yaml +++ b/action.yaml @@ -33,4 +33,4 @@ inputs: default: '' runs: using: docker - image: docker://ghcr.io/sunny-1651/manual-approval:latest + image: docker://ghcr.io/trstringer/manual-approval:1.9.1