File tree Expand file tree Collapse file tree 2 files changed +42
-3
lines changed
Expand file tree Collapse file tree 2 files changed +42
-3
lines changed Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 66dependencies :
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
You can’t perform that action at this time.
0 commit comments