Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
actions(docker-ci): fix CI by remove cloning old docker repo
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Apr 13, 2022
1 parent 4d3d2ba commit fcdecec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/docker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main

env:
SM_DOCKER_REPO: https://github.com/scmn-dev/docker
SM_CONTAINER_DH_IMAGE: smcr/secman
SM_CONTAINER_GHCR_IMAGE: ghcr.io/scmn-dev/secman
SM_CLI_IMAGE: smcr/secman-cli
Expand All @@ -28,7 +27,6 @@ jobs:
- name: Run Build
run: |
docker pull $SM_CONTAINER_DH_IMAGE:latest
git clone $SM_DOCKER_REPO
docker build -t $SM_CONTAINER_DH_IMAGE --cache-from $SM_CONTAINER_DH_IMAGE:latest --file ./docker/container/Dockerfile .
docker push $SM_CONTAINER_DH_IMAGE
Expand Down Expand Up @@ -60,7 +58,6 @@ jobs:
- name: Run Build
run: |
docker pull $SM_CONTAINER_GHCR_IMAGE:latest
git clone $SM_DOCKER_REPO
docker build -t $SM_CONTAINER_GHCR_IMAGE --cache-from $SM_CONTAINER_GHCR_IMAGE:latest --file ./docker/container/Dockerfile .
docker push $SM_CONTAINER_GHCR_IMAGE
Expand Down Expand Up @@ -95,7 +92,6 @@ jobs:
- name: Build Secman CLI
run: |
docker pull $SM_CLI_IMAGE:latest
git clone $SM_DOCKER_REPO
docker build -t $SM_CLI_IMAGE --cache-from $SM_CLI_IMAGE:latest --file ./docker/cli/Dockerfile .
docker push $SM_CLI_IMAGE
Expand Down

0 comments on commit fcdecec

Please sign in to comment.