Skip to content

Commit

Permalink
feat(ci): push built images to ghcr.io registry
Browse files Browse the repository at this point in the history
This is a very small step towards WeblateOrg#2589.
  • Loading branch information
nijel committed Sep 10, 2024
1 parent 7f73756 commit 546497a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/bin/get-buildx-args
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ else
esac
else
echo --output "type=image,push=false"
echo --output "type=image,push=true,name=ghcr.io/weblateorg/weblate-ci:${GITHUB_RUN_ID}"
fi
fi

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/bleeding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
run: echo "date=$(date --iso-8601=ns)" >> $GITHUB_OUTPUT
build:
runs-on: ubuntu-22.04
permissions:
packages: write
name: Build, bleeding, ${{ matrix.architecture }}
needs:
- bleeding
Expand All @@ -54,6 +56,8 @@ jobs:

buildx:
runs-on: ubuntu-22.04
permissions:
packages: write
name: Build, bleeding, ${{ matrix.architecture }}
needs:
- bleeding
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ permissions:
jobs:
build:
runs-on: ubuntu-22.04
permissions:
packages: write
name: Build, stable, ${{ matrix.architecture }}
strategy:
matrix:
Expand All @@ -40,6 +42,8 @@ jobs:

buildx:
runs-on: ubuntu-22.04
permissions:
packages: write
name: Build, stable, ${{ matrix.architecture }}
strategy:
matrix:
Expand Down

0 comments on commit 546497a

Please sign in to comment.