Skip to content

Commit

Permalink
Remove docker image push
Browse files Browse the repository at this point in the history
  • Loading branch information
SyzSteM committed Nov 12, 2024
1 parent 9e3d956 commit 58e90b6
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,22 @@ jobs:
path: FE_Fitness_Tracker/dist/


build-and-push-docker:
needs: build-and-test
uses: ASE-WS23-GruppeA/workout-tracker/.github/workflows/docker-build-and-push.yml@main
with:
docker_image_tag: 'registry.digitalocean.com/do-ase-registry/frontend'
build_artifact_name: 'dist_folder'
build_artifact_path: 'FE_Fitness_Tracker/dist'
docker_build_dockerfile_path: 'FE_Fitness_Tracker/Dockerfile'
docker_build_context_path: 'FE_Fitness_Tracker'
secrets:
DIGITALOCEAN_ACCESS_TOKEN: "${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}"


restart-application:
needs: build-and-push-docker
uses: ASE-WS23-GruppeA/workout-tracker/.github/workflows/docker-compose-restart.yml@main
secrets:
DROPLET_IP_ADDRESS: "${{ secrets.DROPLET_IP_ADDRESS }}"
DROPLET_SSH_KEY: "${{ secrets.DROPLET_SSH_KEY }}"
# build-and-push-docker:
# needs: build-and-test
# uses: ASE-WS23-GruppeA/workout-tracker/.github/workflows/docker-build-and-push.yml@main
# with:
# docker_image_tag: 'registry.digitalocean.com/do-ase-registry/frontend'
# build_artifact_name: 'dist_folder'
# build_artifact_path: 'FE_Fitness_Tracker/dist'
# docker_build_dockerfile_path: 'FE_Fitness_Tracker/Dockerfile'
# docker_build_context_path: 'FE_Fitness_Tracker'
# secrets:
# DIGITALOCEAN_ACCESS_TOKEN: "${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}"
#
#
# restart-application:
# needs: build-and-push-docker
# uses: ASE-WS23-GruppeA/workout-tracker/.github/workflows/docker-compose-restart.yml@main
# secrets:
# DROPLET_IP_ADDRESS: "${{ secrets.DROPLET_IP_ADDRESS }}"
# DROPLET_SSH_KEY: "${{ secrets.DROPLET_SSH_KEY }}"

0 comments on commit 58e90b6

Please sign in to comment.