Skip to content

ignore compiled scripts #11

ignore compiled scripts

ignore compiled scripts #11

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ["develop"]
env:
REGISTRY: ghcr.io
IMAGE_NAME: teknologforeningen/tf-info
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
- name: Push the Docker image
run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest