Skip to content

Commit

Permalink
prepare 3.16.2
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriWahl committed Oct 24, 2024
1 parent d7e7960 commit 4a53e98
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,22 @@ jobs:
pattern: 'fedora*'
path: artifact
merge-multiple: true
# docker login is needed for pushing the build image
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# organize SSH deploy key for nagstamon-repo
- run: mkdir ~/.ssh
- run: echo "${{ secrets.NAGSTAMON_REPO_KEY_WEB }}" > ~/.ssh/id_ed25519
- run: chmod -R go-rwx ~/.ssh
# get and prepare nagstamon-jekyll
- run: git clone [email protected]:HenriWahl/nagstamon-jekyll.git
- run: rm -rf ${{ env.repo_dir }}/${{ env.family }}/??
# if image defined by variable cr_image_version is not pullable aka does not exist it will be created and pushed
- run: docker pull ${{ env.cr_image }}-${{ env.family }}-${{ env.cr_image_latest }}:${{ env.cr_image_version }} || /usr/bin/docker build -t ${{ env.cr_image }}-${{ env.family }}-${{ env.cr_image_latest }}:${{ env.cr_image_version }} -f build/docker/Dockerfile-${{ github.job }} .
- run: docker push ${{ env.cr_image }}-${{ env.family }}-${{ env.cr_image_latest }}:${{ env.cr_image_version }}
# copy *.rpm files into nagstamon-jekyll and create repodata
- run: |
for noarch_rpm in artifact/*${{ env.family }}*.noarch.rpm; \
Expand Down

0 comments on commit 4a53e98

Please sign in to comment.