This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
chore(litestream): add docker builds for litestream #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
# TODO: change to only in main and for litestream changes | |
on: [push] | |
jobs: | |
push: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
checks: write | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
# Build and push container image to GCR (only on main branch) | |
- name: Log in to the GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push container image to GitHub Container Registry | |
uses: docker/build-push-action@v4 | |
with: | |
push: true | |
tags: | | |
ghcr.io/ar-io/arns-litestream:latest | |
ghcr.io/ar-io/arns-litestream:${{ github.sha }} |