Skip to content

Commit

Permalink
Deleted build and push to AMD64
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaxii committed Jul 12, 2024
1 parent 7f2000e commit 271fa05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,7 @@ jobs:
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/vow-website:latest
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Build and push Docker image for AMD64
id: build_amd64
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile
platforms: linux/amd64
load: true
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/vow-website:latest-amd64
cache-from: type=gha
cache-to: type=gha,mode=max


- name: Summarize the Docker digest
run: |
echo 'Digest: ${{ steps.build-docker.outputs.digest }}'
Expand Down
5 changes: 5 additions & 0 deletions Models/Db.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ class Db
public function __construct($credentialsFilePath) {
//Print The credentialsFilePath
print_r($credentialsFilePath);

//Print out the entire file path from root of computer
print_r(realpath($credentialsFilePath));


$credentials = parse_ini_file($credentialsFilePath);
$this->host = $credentials['host'];
$this->database = $credentials['database'];
Expand Down

0 comments on commit 271fa05

Please sign in to comment.