Skip to content

Update Dockerfile

Update Dockerfile #16

Workflow file for this run

name: publish docker image
on: push
jobs:
publish-docker-image-registry:
name: Publish and Push image to docker
runs-on: ubuntu-22.04
steps:
- name: Checkout the repo
uses: actions/[email protected]
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERUSERNAME }}
password: ${{ secrets.DOCKERPASSWORD }}
- name: Docker Metadata action
id: meta
uses: docker/[email protected]
with:
images: cmuriukin/class17-repo
- name: Build and push Docker images
uses: docker/[email protected]
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }} ##these tags can include tags based on git branches/commits etc.
labels: ${{ steps.meta.outputs.labels }}