Skip to content

Commit ce4cf38

Browse files
authored
Merge pull request #8 from influxdata/devel
Bump versions, add devel action
2 parents a1f320f + 4249aab commit ce4cf38

File tree

2 files changed

+42
-3
lines changed

2 files changed

+42
-3
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build and Push latest image
2+
3+
on:
4+
push:
5+
# build and push anytime commits are merged to main
6+
branches:
7+
- devel
8+
9+
jobs:
10+
build_and_push_latest:
11+
runs-on: ubuntu-22.04
12+
name: Build and push latest tag from main on new commits
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.12"
19+
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip setuptools
23+
pip install -r requirements.txt
24+
25+
- name: Quay login
26+
run: |
27+
echo "${{ secrets.QUAY_TOKEN }}" | docker login quay.io -u ${{ secrets.QUAY_USERNAME }} --password-stdin
28+
29+
- name: Build and push image
30+
run: |
31+
docker buildx create --name awx-ee-buildx
32+
docker buildx use awx-ee-buildx
33+
ansible-builder create -v3 --output-file=Dockerfile
34+
docker buildx build \
35+
--push \
36+
--platform=linux/amd64,linux/arm64 \
37+
--tag=${{ vars.IMAGE_REGISTRY }}:devel \
38+
context
39+

execution-environment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ images:
66
dependencies:
77
ansible_core:
88
# A minimum of 2.15 is required to get ansible-inventory --limit option
9-
package_pip: ansible-core==2.16.4
9+
package_pip: ansible-core==2.16.7
1010
ansible_runner:
11-
package_pip: ansible-runner==2.3.5
11+
package_pip: ansible-runner==2.4.0
1212
python_interpreter:
1313
package_system: python3.12
1414
python_path: "/usr/bin/python3.12"
@@ -67,6 +67,6 @@ additional_build_steps:
6767
- RUN $PYCMD -m pip install -U pip
6868
- RUN unlink /usr/bin/python3 && ln -s /usr/bin/python3.12 /usr/bin/python3
6969
append_final:
70-
- COPY --from=quay.io/ansible/receptor:v1.4.4 /usr/bin/receptor /usr/bin/receptor
70+
- COPY --from=quay.io/ansible/receptor:v1.4.8 /usr/bin/receptor /usr/bin/receptor
7171
- RUN mkdir -p /var/run/receptor
7272
- RUN git lfs install --system

0 commit comments

Comments
 (0)