Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/dockerhub-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: Get version
run: |
if [[ ${{ github.event_name }} == 'release' ]]; then
cargo generate-lockfile
PKG_VERSION=$(cargo pkgid -p file://$(pwd)/overload | cut -d# -f2)
TAG_VERSION=${GITHUB_REF:11}
if [[ $PKG_VERSION != $TAG_VERSION ]]; then
Expand All @@ -40,16 +41,17 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build cluster image
- name: Build & push standalone image
uses: docker/build-push-action@v7
with:
context: .
file: standalone.Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:cluster-${{ env.version }}${{ env.suffix }}
- name: Build & push standalone image
tags:
ghcr.io/${{ github.repository }}:standalone-${{ env.version }}${{ env.suffix }}
- name: Build cluster image
uses: docker/build-push-action@v7
with:
context: .
file: standalone.Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:standalone-${{ env.version }}${{ env.suffix }}
tags: ghcr.io/${{ github.repository }}:cluster-${{ env.version }}${{ env.suffix }}
4 changes: 2 additions & 2 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-artifact@v7
with:
path: 'docs/book/html'
- name: Deploy to GitHub Pages
Expand Down
Loading