Skip to content

update dockerfiles

update dockerfiles #32

Workflow file for this run

name: Deploy Docker (edge)
on:
push:
branches:
- main
jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push Docker image
run: |
docker build . -f Dockerfile.alpine -t smoltable:edge-alpine
docker build . -f Dockerfile.debian -t smoltable:edge-debian
docker tag smoltable:edge-alpine ghcr.io/${{ github.repository }}:edge-alpine
docker tag smoltable:edge-debian ghcr.io/${{ github.repository }}:edge-debian
docker push ghcr.io/${{ github.repository }}:edge-alpine
docker push ghcr.io/${{ github.repository }}:edge-debian