Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
Improve build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Nov 6, 2023
1 parent b52d180 commit 87032c0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/setup-python@v4
with:
# keep this in sync with python version from base container
python-version: "3.11" # 3.11 is default on fedora-37
python-version: "3.12" # 3.12 is default on fedora-39
cache: "pip"

- name: Log in to ghcr.io
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: actions/setup-python@v4
with:
# keep this in sync with python version from base container
python-version: "3.11" # 3.11 is default on fedora-37
python-version: "3.12" # 3.12 is default on fedora-39
cache: "pip"

- name: Set cache for galaxy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- uses: actions/setup-python@v4
with:
# keep this in sync with python version from base container
python-version: "3.11" # 3.11 is default on fedora-37
python-version: "3.12" # 3.12 is default on fedora-39
cache: "pip"

- name: Log in to ghcr.io
Expand Down
3 changes: 3 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ tasks:
# Fail if the manifest does not contain exactly two images
# Validate image
- ./_build/validate {{.CNT_NAME_TAG}}
# Without next step, podman will pull the base image from quay.io instead
# of using the locally built image when we chain: task base && task build
- podman tag localhost/{{.CNT_NAME_TAG}} quay.io/ansible/{{.CNT_NAME}}:latest
- touch .task/.{{.CNT_NAME}}.done
- echo "=== {{.CNT_NAME_TAG}} is ready! ==="
sources:
Expand Down
2 changes: 1 addition & 1 deletion _build/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.11
python-3.12

0 comments on commit 87032c0

Please sign in to comment.