Skip to content

build(deps-dev): bump @types/js-yaml from 4.0.5 to 4.0.9 (#39) #24

build(deps-dev): bump @types/js-yaml from 4.0.5 to 4.0.9 (#39)

build(deps-dev): bump @types/js-yaml from 4.0.5 to 4.0.9 (#39) #24

Workflow file for this run

name: Image
on:
push:
branches:
- main
env:
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
jobs:
image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build image
run: docker image build -f Containerfile --tag ghcr.io/vanilla-os/chronos-fe:main .
- name: Publish image
if: github.repository == 'vanilla-os/chronos-frontend'
run: |
docker login ghcr.io -u ${{ env.REGISTRY_USER }} -p ${{ env.REGISTRY_PASSWORD }}
docker image push "ghcr.io/vanilla-os/chronos-fe:main"