Skip to content

Commit cc859fb

Browse files
switch to ubuntu jammy and swift 5.7.1
1 parent dbabab2 commit cc859fb

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
linux:
1616
runs-on: ubuntu-20.04
17-
container: swift:5.6.2-focal
17+
container: swift:5.7.1-jammy
1818
name: Linux
1919
steps:
2020
- name: Get Swift Version
@@ -46,10 +46,10 @@ jobs:
4646
fpm_args: './build'
4747
fpm_opts: '-s dir -t deb -n geocoding-api -v ${{github.ref_name}} --deb-user geoocoding-api --deb-group geoocoding-api --deb-systemd build/geocoding-api.service --deb-default build/geocoding-api.env --before-install build/before-install.sh --before-upgrade build/before-install.sh geocoding-api=/usr/local/bin/'
4848
- name: Rename deb file
49-
run: mv geocoding-api_${{github.ref_name}}_amd64.deb geocoding-api_${{github.ref_name}}_focal_amd64.deb
49+
run: mv geocoding-api_${{github.ref_name}}_amd64.deb geocoding-api_${{github.ref_name}}_jammy_amd64.deb
5050
- name: Release
5151
uses: ncipollo/release-action@v1
5252
with:
5353
generateReleaseNotes: true
54-
artifacts: 'geocoding-api_${{github.ref_name}}_focal_amd64.deb'
54+
artifacts: 'geocoding-api_${{github.ref_name}}_jammy_amd64.deb'
5555
draft: true

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
jobs:
1818
linux:
1919
runs-on: ubuntu-20.04
20-
container: swift:5.6.2-focal
20+
container: swift:5.7.1-jammy
2121
name: Linux
2222
steps:
2323
- name: Get Swift Version

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ================================
22
# Build image
33
# ================================
4-
FROM swift:5.6.2-focal as build
4+
FROM swift:5.7.1-jammy as build
55
WORKDIR /build
66

77
# First just resolve dependencies.
@@ -20,7 +20,7 @@ RUN swift build --enable-test-discovery -c release
2020
# ================================
2121
# Run image
2222
# ================================
23-
FROM swift:5.6.2-focal-slim
23+
FROM swift:5.7.1-jammy-slim
2424

2525
# Create a vapor user and group with /app as its home directory
2626
RUN useradd --user-group --create-home --system --skel /dev/null --home-dir /app vapor

Dockerfile.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ================================
22
# Build image
33
# ================================
4-
FROM swift:5.6.2-focal as build
4+
FROM swift:5.7.1-jammy as build
55
EXPOSE 8080
66
USER root
77

0 commit comments

Comments
 (0)