Skip to content

Commit

Permalink
Merge pull request #34 from chasebolt/deprecations
Browse files Browse the repository at this point in the history
fixing docker ENV deprecation and bumping all actions to latest major
  • Loading branch information
umutphp authored Nov 4, 2024
2 parents 6784929 + 94a22e2 commit 5a1bf23
Show file tree
Hide file tree
Showing 21 changed files with 37 additions and 37 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,110 +18,110 @@ jobs:
with:
platforms: linux/amd64,linux/arm64
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build And Push 7.1-alpine
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: ./images/7.1/Dockerfile-alpine
push: true
tags: umutphp/php-docker-images-for-ci:7.1-alpine
- name: Build And Push 7.2-alpine
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: ./images/7.2/Dockerfile-alpine
push: true
tags: umutphp/php-docker-images-for-ci:7.2-alpine
- name: Build And Push 7.3-alpine
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: ./images/7.3/Dockerfile-alpine
push: true
tags: umutphp/php-docker-images-for-ci:7.3-alpine
- name: Build And Push 7.4-alpine
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: ./images/7.4/Dockerfile-alpine
push: true
tags: umutphp/php-docker-images-for-ci:7.4-alpine
- name: Build And Push 8.0-alpine
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: ./images/8.0/Dockerfile-alpine
push: true
tags: umutphp/php-docker-images-for-ci:8.0-alpine
- name: Build And Push 8.1-alpine
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: ./images/8.1/Dockerfile-alpine
push: true
tags: umutphp/php-docker-images-for-ci:8.1-alpine
- name: Build And Push 8.2-alpine
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: ./images/8.2/Dockerfile-alpine
push: true
tags: umutphp/php-docker-images-for-ci:8.2-alpine
- name: Build And Push 8.3-alpine
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: ./images/8.3/Dockerfile-alpine
push: true
tags: umutphp/php-docker-images-for-ci:8.3-alpine,umutphp/php-docker-images-for-ci:latest-alpine
- name: Build And Push 7.1
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: ./images/7.1/
push: true
tags: umutphp/php-docker-images-for-ci:7.1
- name: Build And Push 7.2
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: ./images/7.2/
push: true
tags: umutphp/php-docker-images-for-ci:7.2
- name: Build And Push 7.3
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: ./images/7.3/
push: true
tags: umutphp/php-docker-images-for-ci:7.3
- name: Build And Push 7.4
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: ./images/7.4/
push: true
tags: umutphp/php-docker-images-for-ci:7.4
- name: Build And Push 8.0
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: ./images/8.0/
push: true
tags: umutphp/php-docker-images-for-ci:8.0
- name: Build And Push 8.1
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: ./images/8.1/
push: true
tags: umutphp/php-docker-images-for-ci:8.1
- name: Build And Push 8.2
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: ./images/8.2/
push: true
tags: umutphp/php-docker-images-for-ci:8.2
- name: Build And Push 8.3
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: ./images/8.3/
push: true
Expand Down
2 changes: 1 addition & 1 deletion images/5.6/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:5.6.6

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -y --no-install-recommends install libmcrypt-dev libreadline-dev zlib1g-dev libxml2-dev apt-utils curl git zip unzip && \
Expand Down
2 changes: 1 addition & 1 deletion images/5.6/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:5.6.19-alpine

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apk --update --no-cache add libzip-dev && \
apk --no-cache --update add --virtual .build-deps gcc make g++ zlib-dev libmcrypt-dev libxml2-dev libzip-dev curl git zip unzip oniguruma-dev autoconf && \
Expand Down
2 changes: 1 addition & 1 deletion images/7.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.0.33

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -y --no-install-recommends install libmcrypt-dev libreadline-dev zlib1g-dev libxml2-dev apt-utils curl git zip unzip && \
Expand Down
2 changes: 1 addition & 1 deletion images/7.0/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.0.33-alpine

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apk --no-cache add libzip-dev && \
apk --no-cache --update add --virtual .build-deps gcc make g++ zlib-dev libmcrypt-dev libxml2-dev libzip-dev curl git zip unzip oniguruma-dev autoconf && \
Expand Down
2 changes: 1 addition & 1 deletion images/7.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.1.33

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -y --no-install-recommends install libmcrypt-dev libreadline-dev zlib1g-dev libxml2-dev apt-utils curl git zip unzip && \
Expand Down
2 changes: 1 addition & 1 deletion images/7.1/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.1.33-alpine

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apk --no-cache add libzip-dev && \
apk --no-cache --update add --virtual .build-deps gcc make g++ zlib-dev libmcrypt-dev libxml2-dev libzip-dev curl git zip unzip oniguruma-dev autoconf && \
Expand Down
2 changes: 1 addition & 1 deletion images/7.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.2.34

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -y install --no-install-recommends libmcrypt-dev libreadline-dev zlib1g-dev libxml2-dev apt-utils curl git zip unzip && \
Expand Down
2 changes: 1 addition & 1 deletion images/7.2/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.2.34-alpine

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apk --no-cache add libzip-dev && \
apk --no-cache --update add --virtual .build-deps gcc make g++ zlib-dev libmcrypt-dev libxml2-dev libzip-dev curl git zip unzip oniguruma-dev autoconf && \
Expand Down
2 changes: 1 addition & 1 deletion images/7.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.3.33

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -y install --no-install-recommends libmcrypt-dev libreadline-dev zlib1g-dev libxml2-dev libzip-dev apt-utils curl git zip unzip && \
Expand Down
2 changes: 1 addition & 1 deletion images/7.3/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.3.33-alpine

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apk --no-cache add libzip-dev && \
apk --no-cache --update add --virtual .build-deps gcc make g++ zlib-dev libmcrypt-dev libxml2-dev libzip-dev curl git zip unzip oniguruma-dev autoconf && \
Expand Down
2 changes: 1 addition & 1 deletion images/7.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.4.33

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -y install --no-install-recommends libmcrypt-dev libreadline-dev zlib1g-dev libxml2-dev libzip-dev apt-utils curl git zip unzip libonig-dev && \
Expand Down
2 changes: 1 addition & 1 deletion images/7.4/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.4.33-alpine

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apk --no-cache add libzip-dev && \
apk --no-cache --update add --virtual .build-deps gcc make g++ zlib-dev libmcrypt-dev libxml2-dev libzip-dev curl git zip unzip oniguruma-dev autoconf && \
Expand Down
2 changes: 1 addition & 1 deletion images/8.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.0.29

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -y install --no-install-recommends libmcrypt-dev libreadline-dev zlib1g-dev libxml2-dev libzip-dev apt-utils curl git zip unzip libonig-dev && \
Expand Down
2 changes: 1 addition & 1 deletion images/8.0/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.0.29-alpine

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apk --no-cache add libzip-dev && \
apk --no-cache --update add --virtual .build-deps gcc make g++ zlib-dev libmcrypt-dev libxml2-dev libzip-dev curl git zip unzip oniguruma-dev autoconf && \
Expand Down
2 changes: 1 addition & 1 deletion images/8.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.1.30

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -y install --no-install-recommends libmcrypt-dev libreadline-dev zlib1g-dev libxml2-dev libzip-dev apt-utils curl git zip unzip libonig-dev && \
Expand Down
2 changes: 1 addition & 1 deletion images/8.1/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.1.30-alpine

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apk --no-cache add libzip-dev && \
apk --no-cache --update add --virtual .build-deps gcc make g++ zlib-dev libmcrypt-dev libxml2-dev libzip-dev curl git zip unzip oniguruma-dev autoconf && \
Expand Down
2 changes: 1 addition & 1 deletion images/8.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.2.25

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -y install --no-install-recommends libmcrypt-dev libreadline-dev zlib1g-dev libxml2-dev libzip-dev apt-utils curl git zip unzip libonig-dev && \
Expand Down
2 changes: 1 addition & 1 deletion images/8.2/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.2.25-alpine

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apk --no-cache add libzip-dev && \
apk --no-cache --update add --virtual .build-deps gcc make g++ zlib-dev libmcrypt-dev libxml2-dev libzip-dev curl git zip unzip oniguruma-dev autoconf && \
Expand Down
2 changes: 1 addition & 1 deletion images/8.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.3.13

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -y install --no-install-recommends libmcrypt-dev libreadline-dev zlib1g-dev libxml2-dev libzip-dev apt-utils curl git zip unzip libonig-dev && \
Expand Down
2 changes: 1 addition & 1 deletion images/8.3/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.3.13-alpine

# disable interactive functions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apk --no-cache add libzip-dev && \
apk --no-cache --update add --virtual .build-deps gcc make g++ zlib-dev libmcrypt-dev libxml2-dev libzip-dev curl git zip unzip oniguruma-dev autoconf && \
Expand Down

0 comments on commit 5a1bf23

Please sign in to comment.