Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update publish pipeline deps versions #1063

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/publish-ghcr-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
publish:
name: Build and push Spilo multiarch images
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: 'read'
packages: 'write'
Expand All @@ -20,15 +20,15 @@ jobs:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up packages
run: sudo apt-get install -y docker-compose

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.7

- name: Install flake8 and docker-compose
run: python -m pip install flake8 docker-compose==1.17.1
python-version: '3.10'

- name: Derive spilo image name
id: image
Expand All @@ -39,20 +39,20 @@ jobs:
echo "NAME=$IMAGE" >> $GITHUB_OUTPUT

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and export to local docker for testing
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: "postgres-appliance/"
load: true
Expand All @@ -65,7 +65,7 @@ jobs:
bash postgres-appliance/tests/test_spilo.sh

- name: Build arm64 additionaly and push multiarch image to ghcr
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: "postgres-appliance/"
push: true
Expand Down