Skip to content

Commit 7244cff

Browse files
authored
Merge pull request #1185 from PokeAPI/remove-arm
Remove support for arm6 and 7
2 parents 2face2e + 643f49a commit 7244cff

File tree

5 files changed

+17
-24
lines changed

5 files changed

+17
-24
lines changed

.github/workflows/docker-build-and-push.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Push Docker image
1+
name: Push Docker image
22

33
on:
44
push:
@@ -20,17 +20,15 @@ jobs:
2020
id: meta
2121
uses: docker/metadata-action@v5
2222
with:
23-
# list of Docker images to use as base name for tags
24-
images: |
25-
pokeapi/pokeapi
23+
images: pokeapi/pokeapi
2624
- name: Set up QEMU
2725
uses: docker/setup-qemu-action@v3
2826
- name: Set up Docker Buildx
2927
id: buildx
3028
uses: docker/setup-buildx-action@v3
3129
- name: Login to DockerHub
3230
if: github.event_name != 'pull_request'
33-
uses: docker/login-action@v1
31+
uses: docker/login-action@v3
3432
with:
3533
username: ${{ secrets.DOCKERHUB_USERNAME_NARAMSIM }}
3634
password: ${{ secrets.DOCKERHUB_TOKEN_NARAMSIM }}
@@ -43,12 +41,12 @@ jobs:
4341
echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
4442
- name: Build and push
4543
id: docker_build
46-
uses: docker/build-push-action@v5
44+
uses: docker/build-push-action@v6
4745
with:
4846
context: .
4947
file: ./Resources/docker/app/Dockerfile
5048
push: true
51-
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
49+
platforms: linux/amd64,linux/arm64 #,linux/arm/v7,linux/arm/v6
5250
tags: ${{ steps.meta.outputs.tags }}
5351
labels: ${{ steps.meta.outputs.labels }}
5452
- name: Image digest

.github/workflows/docker-k8s.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Docker image and create k8s with it
1+
name: Test Docker and k8s
22

33
on:
44
pull_request:
@@ -23,12 +23,12 @@ jobs:
2323
uses: docker/setup-buildx-action@v3
2424
- name: Build
2525
id: docker_build
26-
uses: docker/build-push-action@v5
26+
uses: docker/build-push-action@v6
2727
with:
2828
context: .
2929
file: ./Resources/docker/app/Dockerfile
3030
push: false
31-
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
31+
platforms: linux/amd64,linux/arm64 #,linux/arm/v7,linux/arm/v6
3232
tags: pokeapi/pokeapi:local
3333
labels: ${{ steps.meta.outputs.labels }}
3434
- name: Image digest

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,17 @@ A RESTful API for Pokémon - [pokeapi.co](https://pokeapi.co)
2323

2424
## Table of Contents
2525

26-
- [Setup   ](#setup)
26+
- [Setup](#setup)
2727
- [Database setup](#database-setup)
28-
- [Docker and Compose   ](#docker-and-compose)
29-
- [GraphQL   ](#graphql)
30-
- [Kubernetes   ](#kubernetes)
28+
- [Docker and Compose](#docker-and-compose)
29+
- [GraphQL](#graphql)
30+
- [Kubernetes](#kubernetes)
3131
- [Wrappers](#wrappers)
3232
- [Donations](#donations)
3333
- [Join Us On Slack!](#join-us-on-slack)
3434
- [Contributing](#contributing)
35-
- [Deprecation](#deprecation)
3635

37-
## Setup <a id="setup"></a> &nbsp; [![pyVersion310](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/download/releases/3.10/)
36+
## Setup <a id="setup"></a> &nbsp; [![pyVersion310](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/download/releases/3.10/)
3837

3938
- Download this source code into a working directory, be sure to use the flag `--recurse-submodules` to clone also our submodules.
4039

@@ -237,7 +236,3 @@ To contribute to this repository:
237236
- We'll accept your changes after review.
238237
239238
Simple!
240-
241-
## Deprecation
242-
243-
As of October 2018, the v1 API has been removed from PokéAPI. For more information, see [pokeapi.co/docs/v1.html](https://pokeapi.co/docs/v1.html).

Resources/docker/app/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11.11-alpine3.21 AS builder
1+
FROM python:3.12.8-alpine3.21 AS builder
22

33
ENV PYTHONUNBUFFERED=1
44

@@ -11,15 +11,15 @@ RUN apk add --no-cache --virtual .build-deps gcc g++ musl-dev \
1111
postgresql-dev binutils rust cargo && \
1212
python3 -m pip install -r requirements.txt --no-cache-dir
1313

14-
FROM python:3.11.11-alpine3.21
14+
FROM python:3.12.8-alpine3.21
1515

1616
ENV PYTHONUNBUFFERED=1
1717
ENV DJANGO_SETTINGS_MODULE='config.docker-compose'
1818

1919
RUN mkdir /code
2020
WORKDIR /code
2121

22-
COPY --from=builder /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
22+
COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages
2323
COPY --from=builder /usr/local/bin /usr/local/bin
2424

2525
ADD . /code/

Resources/docker/app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- [`master`](https://github.com/PokeAPI/pokeapi/blob/master/Resources/docker/app/Dockerfile)
1818
- [`staging`](https://github.com/PokeAPI/pokeapi/blob/staging/Resources/docker/app/Dockerfile)
1919

20-
> `pokeapi` uses `python:3.10-alpine` as base image.
20+
> `pokeapi` uses `python:3.12.8-alpine3.21` as base image.
2121
2222
## What is PokeAPI?
2323

0 commit comments

Comments
 (0)