Skip to content

Commit aad156a

Browse files
authored
chore(deps): update docker/build-push-action action to v6 (#18)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [docker/build-push-action](https://redirect.github.com/docker/build-push-action) | action | major | `v5` -> `v6` | --- ### Release Notes <details> <summary>docker/build-push-action (docker/build-push-action)</summary> ### [`v6`](https://redirect.github.com/docker/build-push-action/compare/v5...v6) [Compare Source](https://redirect.github.com/docker/build-push-action/compare/v5...v6) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/voxxit/dockerfiles). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE5NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
2 parents 877387b + a98770c commit aad156a

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

.github/workflows/docker-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
password: ${{ secrets.DOCKER_PASSWORD }}
4040

4141
- name: Build and push
42-
uses: docker/build-push-action@v5
42+
uses: docker/build-push-action@v6
4343
with:
4444
context: ./${{ matrix.image }}
4545
push: ${{ github.event_name != 'pull_request' }}
@@ -70,7 +70,7 @@ jobs:
7070
password: ${{ secrets.DOCKER_PASSWORD }}
7171

7272
- name: Build and push
73-
uses: docker/build-push-action@v5
73+
uses: docker/build-push-action@v6
7474
with:
7575
context: ./${{ matrix.image }}
7676
push: ${{ github.event_name != 'pull_request' }}
@@ -103,7 +103,7 @@ jobs:
103103
password: ${{ secrets.DOCKER_PASSWORD }}
104104

105105
- name: Build and push
106-
uses: docker/build-push-action@v5
106+
uses: docker/build-push-action@v6
107107
with:
108108
context: ./${{ matrix.image }}
109109
push: ${{ github.event_name != 'pull_request' }}
@@ -134,7 +134,7 @@ jobs:
134134
password: ${{ secrets.DOCKER_PASSWORD }}
135135

136136
- name: Build and push
137-
uses: docker/build-push-action@v5
137+
uses: docker/build-push-action@v6
138138
with:
139139
context: ./${{ matrix.image }}
140140
push: ${{ github.event_name != 'pull_request' }}

.github/workflows/rails-docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
type=raw,value=latest,enable=${{ matrix.is-latest == true }}
5050
5151
- name: Build and push
52-
uses: docker/build-push-action@v5
52+
uses: docker/build-push-action@v6
5353
with:
5454
context: ./rails/${{ matrix.rails-version }}
5555
push: ${{ github.event_name != 'pull_request' }}

rails/6/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
FROM alpine:3.16
1+
FROM alpine:3.21
22

3+
# Install required packages including OpenSSL
34
RUN apk add --no-cache \
45
bash make nodejs gcc g++ libc-dev git ruby libxml2-dev libxslt-dev \
5-
libffi-dev yaml-dev openssl-dev zlib-dev readline-dev linux-headers \
6+
libffi-dev yaml-dev openssl openssl-dev zlib-dev readline-dev linux-headers \
67
&& mkdir -p /usr/src/app \
78
&& git clone https://github.com/postmodern/ruby-install /usr/src/ruby-install \
89
&& cd /usr/src/ruby-install \
910
&& make install \
10-
&& ruby-install --system ruby 3.0.6 -- --disable-install-rdoc \
11-
--with-openssl-dir=/usr \
11+
&& ruby-install --system ruby 3.1.2 -- --disable-install-rdoc --with-openssl-dir=/usr \
1212
&& gem install 'bundler:2.2.33' 'rails:6.1.7.10' \
1313
&& bundle config --global build.nokogiri --use-system-libraries \
1414
&& apk del ruby \
@@ -25,4 +25,4 @@ ONBUILD COPY . /usr/src/app
2525

2626
EXPOSE 3000/tcp
2727

28-
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
28+
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]

rails/7/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM alpine:3.21
22

3+
# Install required packages including OpenSSL
34
RUN apk add --no-cache \
45
bash make nodejs gcc g++ libc-dev git ruby libxml2-dev libxslt-dev \
5-
libffi-dev yaml-dev openssl-dev zlib-dev readline-dev linux-headers \
6+
libffi-dev yaml-dev openssl openssl-dev zlib-dev readline-dev linux-headers \
67
&& mkdir -p /usr/src/app \
78
&& git clone https://github.com/postmodern/ruby-install /usr/src/ruby-install \
89
&& cd /usr/src/ruby-install \
910
&& make install \
10-
&& ruby-install --system ruby 3.3.0 -- --disable-install-rdoc \
11-
--with-openssl-dir=/usr \
11+
&& ruby-install --system ruby 3.3.0 -- --disable-install-rdoc --with-openssl-dir=/usr \
1212
&& gem install 'bundler:2.5.6' 'rails:7.2.2.1' \
1313
&& bundle config --global build.nokogiri --use-system-libraries \
1414
&& apk del ruby \
@@ -25,4 +25,4 @@ ONBUILD COPY . /usr/src/app
2525

2626
EXPOSE 3000/tcp
2727

28-
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
28+
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]

rails/8/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM alpine:3.21
22

3+
# Install required packages including OpenSSL
34
RUN apk add --no-cache \
45
bash make nodejs gcc g++ libc-dev git ruby libxml2-dev libxslt-dev \
5-
libffi-dev yaml-dev openssl-dev zlib-dev readline-dev linux-headers \
6+
libffi-dev yaml-dev openssl openssl-dev zlib-dev readline-dev linux-headers \
67
&& mkdir -p /usr/src/app \
78
&& git clone https://github.com/postmodern/ruby-install /usr/src/ruby-install \
89
&& cd /usr/src/ruby-install \
910
&& make install \
10-
&& ruby-install --system ruby 3.3.0 -- --disable-install-rdoc \
11-
--with-openssl-dir=/usr \
11+
&& ruby-install --system ruby 3.3.0 -- --disable-install-rdoc --with-openssl-dir=/usr \
1212
&& gem install 'bundler:2.5.6' 'rails:8.0.2' \
1313
&& bundle config --global build.nokogiri --use-system-libraries \
1414
&& apk del ruby \
@@ -25,4 +25,4 @@ ONBUILD COPY . /usr/src/app
2525

2626
EXPOSE 3000/tcp
2727

28-
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
28+
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]

0 commit comments

Comments
 (0)