Skip to content

Commit

Permalink
Testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dasscheman committed Jun 21, 2024
1 parent 654fcf0 commit 3811a90
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/docker-image-Laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ jobs:
with:
image: Laravel
tags: latest

# If you don't have a Dockerfile/Containerfile, refer to https://github.com/redhat-actions/buildah-build#scratch-build-inputs
# Or, perform a source-to-image build using https://github.com/redhat-actions/s2i-build
# Otherwise, point this to your Dockerfile/Containerfile relative to the repository root.
dockerfiles: |
./openshift/openshift.dockerfile
- name: Push to registry
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/docker-image-Nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,17 @@ on:
branches: [ "master", "develop", "feature/da_opschonen" ]
pull_request:
branches: [ "master" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker image
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: Nginx
tags: ${{ env.IMAGE_TAGS }}

# If you don't have a Dockerfile/Containerfile, refer to https://github.com/redhat-actions/buildah-build#scratch-build-inputs
# Or, perform a source-to-image build using https://github.com/redhat-actions/s2i-build
# Otherwise, point this to your Dockerfile/Containerfile relative to the repository root.
tags: latest
dockerfiles: |
./openshift/nginx.dockerfile
- name: Push to registry
Expand Down
2 changes: 1 addition & 1 deletion openshift/openshift.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/lo

RUN composer install

COPY ./docker/openshift.env /var/www/.env
COPY ./openshift/openshift.env /var/www/.env

RUN chmod -R a+rw /var/www/storage
RUN php artisan key:generate
Expand Down

0 comments on commit 3811a90

Please sign in to comment.