Skip to content

Commit

Permalink
downgrade deploy::docker job to ubuntu-22.04 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
hallettj committed Jan 18, 2025
1 parent ced6a40 commit 0befda9
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ jobs:
docker:
name: deploy::docker
needs: binary
runs-on: ubuntu-24.04

# This job doesn't work as written on ubuntu-24.04. The problem is described
# in this issue: https://github.com/actions/runner-images/issues/10443
runs-on: ubuntu-22.04
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -64,13 +67,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# This setting is necessary as of the ubuntu-24.04 runner.
# See https://github.com/actions/runner-images/issues/10443
- name: Enable user namespace remapping
run: |
echo "kernel.unprivileged_userns_clone=1" | sudo tee /etc/sysctl.conf
sudo sysctl -p
- name: Deploy 🚀
run: nix run .#publish-docker-image ${{ github.ref }}

Expand Down

0 comments on commit 0befda9

Please sign in to comment.