Skip to content

Commit 4b3d1c6

Browse files
authored
Update publish pipeline deps versions (#1063)
1 parent 635ec0c commit 4b3d1c6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/publish-ghcr-container.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
jobs:
1212
publish:
1313
name: Build and push Spilo multiarch images
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
permissions:
1616
contents: 'read'
1717
packages: 'write'
@@ -20,15 +20,15 @@ jobs:
2020
shell: bash
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
24+
25+
- name: Set up packages
26+
run: sudo apt-get install -y docker-compose
2427

2528
- name: Set up Python
26-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
2730
with:
28-
python-version: 3.7
29-
30-
- name: Install flake8 and docker-compose
31-
run: python -m pip install flake8 docker-compose==1.17.1
31+
python-version: '3.10'
3232

3333
- name: Derive spilo image name
3434
id: image
@@ -39,20 +39,20 @@ jobs:
3939
echo "NAME=$IMAGE" >> $GITHUB_OUTPUT
4040
4141
- name: Set up QEMU
42-
uses: docker/setup-qemu-action@v2
42+
uses: docker/setup-qemu-action@v3
4343

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

4747
- name: Login to GHCR
48-
uses: docker/login-action@v2
48+
uses: docker/login-action@v3
4949
with:
5050
registry: ${{ env.REGISTRY }}
5151
username: ${{ github.actor }}
5252
password: ${{ secrets.GITHUB_TOKEN }}
5353

5454
- name: Build and export to local docker for testing
55-
uses: docker/build-push-action@v3
55+
uses: docker/build-push-action@v6
5656
with:
5757
context: "postgres-appliance/"
5858
load: true
@@ -65,7 +65,7 @@ jobs:
6565
bash postgres-appliance/tests/test_spilo.sh
6666
6767
- name: Build arm64 additionaly and push multiarch image to ghcr
68-
uses: docker/build-push-action@v3
68+
uses: docker/build-push-action@v6
6969
with:
7070
context: "postgres-appliance/"
7171
push: true

0 commit comments

Comments
 (0)