Skip to content

Update config.yaml

Update config.yaml #6

Workflow file for this run

name: docker creation
# Run on PR requests. And on main itself.
on:
push:
branches:
- main
pull_request:
# A workflow run is made up of one or more jobs that can run sequentially or
# in parallel
jobs:
build:
runs-on: ubuntu-22.04
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can
# access it
- uses: actions/checkout@v4
- name: Build docker
run: docker compose build
- name: Publish the Docker image
run: |
docker login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
docker tag docker.io/library/wim-web ghcr.io/nens/wim:main
docker push ghcr.io/nens/wim:main
if: github.ref == 'refs/heads/main'
# Running this job only for main branch.