Skip to content

Merge branch 'dev' into feature/tobt-update-warning #37

Merge branch 'dev' into feature/tobt-update-warning

Merge branch 'dev' into feature/tobt-update-warning #37

name: Docker Image CI
on:
push:
branches: [ "dev" ]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
run: |
docker build --pull -t ${{ env.REGISTRY }}/vacdm/vacdm:dev .
docker push ${{ env.REGISTRY }}/vacdm/vacdm:dev