Skip to content

Strikethrough nomination if dropped out #12

Strikethrough nomination if dropped out

Strikethrough nomination if dropped out #12

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout
- name: Log in to Docker Hub
uses: docker/login-action
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action
with:
images: ecss/web_main
- name: Build and push Docker image
uses: docker/build-push-action
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}