Skip to content

Commit

Permalink
Merge branch 'master' into fix+update/seasons
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-dahir authored Oct 27, 2022
2 parents ad85779 + 1f8073d commit 0a35a0b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/container-base-image-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
ghcr.io/jikan-me/jikan-rest-php
jikanme/jikan-rest-php
tags: |
type=raw,value=latest
type=sha
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
Expand Down
1 change: 1 addition & 0 deletions docker/base_image/php-8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM composer:2.3.9 as composer
FROM mlocati/php-extension-installer:1.5.29 as php-ext-installer
FROM php:8.0-bullseye as runtime
ARG GITHUB_PERSONAL_TOKEN
LABEL org.opencontainers.image.source=https://github.com/jikan-me/jikan-rest/docker/base_image/php-8.0
COPY --from=composer /usr/bin/composer /usr/bin/composer
COPY --from=php-ext-installer /usr/bin/install-php-extensions /usr/local/bin/
ENV COMPOSER_HOME="/tmp/composer"
Expand Down
3 changes: 3 additions & 0 deletions docker/base_image/php-8.0/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Jikan Rest Base image

The base image for Jikan REST app, to speed up container builds. This is mostly for internal use.
1 change: 1 addition & 0 deletions docker/base_image/php-8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM composer:2.3.9 as composer
FROM mlocati/php-extension-installer:1.5.29 as php-ext-installer
FROM php:8.1-bullseye as runtime
ARG GITHUB_PERSONAL_TOKEN
LABEL org.opencontainers.image.source=https://github.com/jikan-me/jikan-rest/docker/base_image/php-8.1
COPY --from=composer /usr/bin/composer /usr/bin/composer
COPY --from=php-ext-installer /usr/bin/install-php-extensions /usr/local/bin/
ENV COMPOSER_HOME="/tmp/composer"
Expand Down

0 comments on commit 0a35a0b

Please sign in to comment.