Skip to content

Commit

Permalink
Merge pull request Nitrate#1195 from tkdchen/build-images-with-podman
Browse files Browse the repository at this point in the history
fix: build images with podman
  • Loading branch information
tkdchen authored Jul 13, 2024
2 parents 359ccc7 + 1c3dcce commit 81a745d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dev-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
name: Build and push develop images
runs-on: ubuntu-24.04
steps:
- run: sudo apt-get install -y make python3-build python3-venv
- run: sudo apt-get install -y make python3-build python3-venv podman
- uses: actions/checkout@v4
with:
repository: Nitrate/containers
- run: make all-images engine=docker
- run: |
- name: Build all images and push them to registry
run: |
echo "${{ secrets.quay_token }}" | \
docker login -u "${{ secrets.quay_username }}" --password-stdin quay.io
make push-all engine=docker
make all-images push-all
9 changes: 5 additions & 4 deletions .github/workflows/distribution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ jobs:
build-and-push-images:
name: Build and push images
needs: pypi
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- run: sudo apt-get install -y make python3 python3-pip
- run: sudo apt-get install -y make python3 python3-pip podman
- uses: actions/checkout@v4
with:
repository: Nitrate/containers
- run: |
- name: Build all images and push them to registry
run: |
echo "${{ secrets.quay_token }}" | \
docker login -u "${{ secrets.quay_username }}" --password-stdin quay.io
git_ref="${{ github.ref }}"
make all-images push-all engine=docker version=${git_ref##refs/tags/v}
make all-images push-all version=${git_ref##refs/tags/v}

0 comments on commit 81a745d

Please sign in to comment.