Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioassuncao committed Jun 27, 2024
1 parent 6ae9459 commit 7ac432f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
11 changes: 0 additions & 11 deletions .env.example

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/docker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all branches and tags.

- name: Login into registry
env:
Expand Down
17 changes: 11 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
DEFAULT_ARCHS="linux/arm64"
ARCHS="linux/amd64,linux/arm64,linux/arm/v8,linux/arm/v7,linux/arm/v6"

# Load environment variables
if [ -f "./.env" ]; then
source ./.env
else
source ./.env.example
fi
# resulting images namespace on docker hub
NAMESPACE=ghcr.io/fabioassuncao

# publish the built images
PUBLISH=true

# use build cache
USE_CACHE=true

# all repositories
ALL_REPOSITORIES="php"

# Set repositories to process
REPOSITORIES=$1
Expand Down
2 changes: 1 addition & 1 deletion php/buildvars
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
TAGS="8.3-alpine 8.2-slim 8.2-nginx-slim 8.1-nginx-slim 8.1-nginx 7.4-nginx 7.3-nginx 7.1-nginx"
TAGS="8.3-alpine"
LATEST="8.3-alpine"

0 comments on commit 7ac432f

Please sign in to comment.