Skip to content

Migrated to self hosted #1

Migrated to self hosted

Migrated to self hosted #1

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
IMAGE_NAME: ghcr.io/isala404/isala-me
DOCKER_BUILDKIT: 1
jobs:
build-publish:
permissions: write-all
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker build -t $IMAGE_NAME:latest .
- run: docker tag $IMAGE_NAME:latest $IMAGE_NAME:commit-${GITHUB_SHA:0:8}
- run: docker push $IMAGE_NAME --all-tags