Skip to content

Commit

Permalink
Update publish pipeline deps versions (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcapet authored Dec 13, 2024
1 parent 635ec0c commit 4b3d1c6
Showing 1 changed file with 12 additions and 12 deletions.
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

0 comments on commit 4b3d1c6

Please sign in to comment.