Skip to content

Commit

Permalink
Add unstable container image tag that follows the main branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramblurr committed Oct 30, 2024
1 parent 92a1830 commit d2d6fb5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,24 @@ jobs:
- name: Run NixOS module tests
run: nix flake check

publish-unstable-image:
needs: check
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
packages: write
# if we are on the main branch
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build datomic-pro oci image
run: nix build .#datomic-pro-container -o container
- name: Push container image on new releases
run: |
nix develop --ignore-environment --command skopeo copy --dest-creds="ramblurr:${{ github.token }}" docker-archive:./container docker://ghcr.io/ramblurr/datomic-pro:unstable
publish:
needs: check
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Include sqlite, postgresql, and mysql JDBC drivers by default
- Added `unstable` container image tag that follows the `main` branch.

### Fixed

Expand Down

0 comments on commit d2d6fb5

Please sign in to comment.