Skip to content

Commit

Permalink
ci: ghcr (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-rieznik authored Sep 19, 2024
1 parent 1dc237c commit 9432331
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build
run: make image
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ LABEL org.opencontainers.image.source=https://github.com/andrii-reznik/docker-py
LABEL org.opencontainers.image.description="Debian based image with pre-installed GDAL/OGR libraries and Python bindings"
LABEL org.opencontainers.image.licenses=MIT

ARG PYTHON_VERSION=3.12.4
ARG GDAL_VERSION=3.9.1
ARG PYTHON_VERSION=3.12.6
ARG GDAL_VERSION=3.9.2
ARG SOURCE_DIR=/usr/local/src/python-gdal

ENV PYENV_ROOT="/usr/local/pyenv"
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GDAL_VERSION ?= 3.9.1
PYTHON_VERSION ?= 3.12.4
DOCKER_REPO ?= andrejreznik/python-gdal
GDAL_VERSION ?= 3.9.2
PYTHON_VERSION ?= 3.12.6
DOCKER_REPO ?= ghcr.io/andrii-rieznik/python-gdal
IMAGE ?= $(DOCKER_REPO):py$(PYTHON_VERSION)-gdal$(GDAL_VERSION)

image:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ docker run -it ghcr.io/andrii-rieznik/python-gdal /bin/bash
To use a specific version of Python or GDAL with the appropriate tag:

```bash
docker run ghcr.io/andrii-rieznik/python-gdal:py3.12.4-gdal3.9.1
docker run ghcr.io/andrii-rieznik/python-gdal:py3.12.6-gdal3.9.2
```

To pass as build arguments:

```bash
make image PYTHON_VERSION=3.12.4 GDAL_VERSION=3.9.1
make image PYTHON_VERSION=3.12.6 GDAL_VERSION=3.9.2
```

## License
Expand Down

0 comments on commit 9432331

Please sign in to comment.