Skip to content

Commit

Permalink
Merge pull request #51 from pasindu07/php-8.2-rhel-9
Browse files Browse the repository at this point in the history
Updated Docker image tags
  • Loading branch information
ChanakaR authored Dec 27, 2024
2 parents a325fee + 7526f29 commit c935689
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ on:

env:
REGISTRY: hub.docker.com
DOCKER_HUB_REPO: "orangehrm/dev-environment-redhat9"
LATEST_TAG_NAME: "php-8.2-latest"
DOCKER_HUB_REPO: "orangehrm/dev-environment"
LATEST_TAG_NAME: "rhel9-php8.2-latest"
UPSTREAM_REPO: "orangehrm/orangehrm-dev-environment"
UPSTREAM_BRANCH: "refs/heads/php-8.2-rhel-9"
OS_VERSION: "rhel9"

jobs:

Expand Down Expand Up @@ -47,7 +48,7 @@ jobs:
php vendor/bin/codecept run unit
- name: Get installed php version
run: echo "PHP_VERSION=php-$(docker exec $(docker ps --format '{{.Names}}' | head -n 1) php -r 'echo PHP_VERSION;')" >> $GITHUB_ENV
run: echo "PHP_VERSION=${{ env.OS_VERSION }}-php$(docker exec $(docker ps --format '{{.Names}}' | head -n 1) php -r 'echo PHP_VERSION;')" >> $GITHUB_ENV

- name: Set TAG_NAME with date
run: |
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
web:
image: orangehrm/dev-environment-redhat9:php-8.2-latest
image: orangehrm/dev-environment:rhel9-php8.2-latest
ports:
- "443:443"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion docker-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM orangehrm/test-environment-redhat9:php-8.2-latest
FROM orangehrm/test-environment:rhel9-php8.2-latest

LABEL maintainer = "orangehrm"
LABEL authors = "OrangeHRM TechOps<[email protected]>"
Expand Down

0 comments on commit c935689

Please sign in to comment.