Skip to content

Commit

Permalink
build and push images
Browse files Browse the repository at this point in the history
  • Loading branch information
th0rn0 committed Mar 24, 2024
1 parent c8fd57c commit 05e8d5c
Showing 1 changed file with 11 additions and 43 deletions.
54 changes: 11 additions & 43 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,57 +28,25 @@ jobs:
-
name: Create Dummy .env
run: touch src/.env
-
name: Build Images
run: make build --no-cache
-
name: Build App Dependencies
run: make build
run: make build && make artisan-storage-link
-
name: Build - nginx
name: Push - NGINX
uses: docker/build-push-action@v5
with:
context: resources/docker/php/
context: resources/docker/nginx/
file: Dockerfile
load: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/lanops-manager:nginx-latest
# -
# name: Build - nginx
# uses: docker/build-push-action@v5
# with:
# context: .
# file: ./Dockerfile
# load: true
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/lanops-manager:latest
# -
# name: Build - nginx
# uses: docker/build-push-action@v5
# with:
# context: .
# file: ./Dockerfile
# load: true
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/lanops-manager:latest



-
name: Build and push - nginx
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/lanops-manager:latest
-
name: Build and push - php
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/lanops-manager:latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/lanops-manager:nginx-latest
-
name: Build and push - nginx
name: Push - APP
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
context: resources/docker/php/
file: Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/lanops-manager:latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/lanops-manager:app-latest

0 comments on commit 05e8d5c

Please sign in to comment.