Skip to content

Update task definition #3

Update task definition

Update task definition #3

Workflow file for this run

name: Build Docker Image
on:
push:
branches:
- master
- main
- add-dockerfile # TODO: Remove this before merging to main
jobs:
build_docker:
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker build -t ghcr.io/$GITHUB_REPOSITORY:latest .
- name: Push built image
run: docker push ghcr.io/$GITHUB_REPOSITORY --all-tags