Skip to content

Commit

Permalink
working status build all except armv5
Browse files Browse the repository at this point in the history
  • Loading branch information
nkowenski committed Sep 25, 2024
1 parent c80f292 commit 4ac5eb7
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 35 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/build-alt.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Docker build images on tag
name: Build&Push Alt Images
on: [push]
# push:
# tags:
# - 'only-alts'
# # echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
# # echo "Tag name from github.ref_name: ${{ github.ref_name }}"
on:
push:
tags:
- 'test-alts'
# echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
# echo "Tag name from github.ref_name: ${{ github.ref_name }}"

env:
IMAGE_TAGS: ${{ github.ref_name }}
Expand Down Expand Up @@ -39,15 +39,15 @@ jobs:
sudo apt-get install -y qemu-user-static
sudo apt-get install -y rustc
- name: Build alt Image armv5
id: build_alt_imagev5
uses: redhat-actions/buildah-build@main
with:
image: ${{ env.IMAGE_NAMESPACE }}
tags: alt-${{ env.IMAGE_TAGS }}
platforms: linux/arm/v5
containerfiles: |
./Dockerfile-others.gh
# - name: Build alt Image armv5 # not working
# id: build_alt_imagev5
# uses: redhat-actions/buildah-build@main
# with:
# image: ${{ env.IMAGE_NAMESPACE }}
# tags: alt-${{ env.IMAGE_TAGS }}
# platforms: linux/arm/v5
# containerfiles: |
# ./Dockerfile-others.gh

build-push-quay-s390:
name: Build&Push Alt
Expand Down Expand Up @@ -155,16 +155,16 @@ jobs:
./Dockerfile-others.gh
# Push the image manifest to Quay.io (Image Registry)
- name: Push To Quay
# uses: ./
id: push-to-quay
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build_alt_image.outputs.image }}
tags: ${{ steps.build_alt_image.outputs.tags }}
registry: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAMESPACE }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
# - name: Push To Quay
# # uses: ./
# id: push-to-quay
# uses: redhat-actions/push-to-registry@v2
# with:
# image: ${{ steps.build_alt_image.outputs.image }}
# tags: ${{ steps.build_alt_image.outputs.tags }}
# registry: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAMESPACE }}
# username: ${{ secrets.REGISTRY_USER }}
# password: ${{ secrets.REGISTRY_PASSWORD }}

- name: Echo outputs
run: |
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Docker build images on tag
name: Build&Push Images
on: [push]

# push:
# tags:
# - '*'
# # echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
# # echo "Tag name from github.ref_name: ${{ github.ref_name }}"
on:
push:
tags:
- '*'
# echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
# echo "Tag name from github.ref_name: ${{ github.ref_name }}"

env:
IMAGE_TAGS: ${{ github.ref_name }}
Expand Down Expand Up @@ -45,7 +44,7 @@ jobs:
with:
image: ${{ env.IMAGE_NAMESPACE }}
tags: ${{ env.IMAGE_TAGS }} latest
platforms: linux/386, linux/amd64
platforms: linux/386, linux/amd64, linux/s390x, linux/arm64/v8, linux/arm/v7
containerfiles: |
./Dockerfile.gh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-testing.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: E2E Testing

on: [push, pull_request]
on: [pull_request]

jobs:
e2e-tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/py-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
python-version: ["3.9", "3.10","3.11"]

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 4ac5eb7

Please sign in to comment.