Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit ce27558

Browse files
committed
Use official docker action
1 parent d931080 commit ce27558

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,13 @@ jobs:
4646
cd operator/
4747
go fmt ./...
4848
go vet ./...
49-
- name: "Build'n Push Lurcher"
50-
uses: docker://j12934/one-click-docker@sha256:c0c3c90aa2fe65c0ffad0cf892aec9ea4dcc4731c1b2ccc0f3d4c8eacc4fb917
51-
env:
52-
DOCKER_IMAGE_NAME: lurcher
53-
DOCKER_REGISTRY_URL: docker.pkg.github.com
54-
DOCKER_NAMESPACE: j12934/securecodebox
55-
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
56-
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
49+
- uses: docker/build-push-action@v1
5750
with:
58-
args: ./lurcher/
51+
username: ${{ secrets.DOCKER_USERNAME }}
52+
password: ${{ secrets.DOCKER_PASSWORD }}
53+
repository: j12934/securecodebox/lurcher
54+
tag_with_ref: true
55+
registry: docker.pkg.github.com
5956
- uses: actions/delete-package-versions@v1
6057
name: "Delete oldest lurcher image tag"
6158
with:

0 commit comments

Comments
 (0)