Skip to content

Commit

Permalink
Fix manual github action trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
janole committed Jan 19, 2024
1 parent 6131d57 commit f585398
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker
name: Build Docker Images

on:
push:
Expand All @@ -9,7 +9,6 @@ on:
jobs:
push:
runs-on: ubuntu-latest
if: github.event_name == 'push'

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -43,13 +42,9 @@ jobs:
npm run docker:build
echo "Pushing ${IMAGE_BASE}frontend:${IMAGE_VERSION}"
##docker tag "${IMAGE_BASE}frontend:${IMAGE_VERSION}" "${IMAGE_BASE}frontend:latest"
##docker push "${IMAGE_BASE}frontend:latest"
docker push "${IMAGE_BASE}frontend:${IMAGE_VERSION}"
echo "Pushing ${IMAGE_BASE}backend:${IMAGE_VERSION}"
##docker tag "${IMAGE_BASE}backend:${IMAGE_VERSION}" "${IMAGE_BASE}backend:latest"
##docker push "${IMAGE_BASE}backend:latest"
docker push "${IMAGE_BASE}backend:${IMAGE_VERSION}"
- name: Log out of registry
Expand Down

0 comments on commit f585398

Please sign in to comment.