Skip to content

Commit

Permalink
Update Image references and circleci build
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Mar 22, 2023
1 parent c222d9e commit 847a07a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ version: 2.1
executors:
docker-publisher:
environment:
IMAGE_NAME: islamicnetwork/aladhan.com
IMAGE_NAME: ghcr.io/islamic-network/aladhan.com
QUAYIO_IMAGE_NAME: quay.io/islamic-network/aladhan.com
docker:
- image: circleci/buildpack-deps:stretch
php74:
docker:
- image: islamicnetwork/php:8.1-cli
- image: memcached:1.5
- image: ghcr.io/islamic-network/php:8.1-cli
- image: memcached:1.6
working_directory: ~/repo
jobs:
build-app:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- run:
name: Build Production Docker image
command: |
echo "$DOCKERHUB_PASSWORD" | docker login --username "$DOCKERHUB_USERNAME" --password-stdin
echo "$GITHUB_TOKEN" | docker login --username "$DOCKERHUB_USERNAME" --password-stdin
docker build -t $IMAGE_NAME:latest .
echo "Pushing latest tag to Docker Hub..."
docker push $IMAGE_NAME:latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM islamicnetwork/php:8.1-apache
FROM ghcr.io/islamic-network/php:8.1-apache

# Copy files
RUN cd ../ && rm -rf /var/www/html
Expand Down

0 comments on commit 847a07a

Please sign in to comment.