Skip to content

Bump docker/metadata-action from a64d0487d7069df33b279515d35d60fa80e2ea62 to 60a0d343a0d8a18aedee9d34e62251f752153bdb #72

Bump docker/metadata-action from a64d0487d7069df33b279515d35d60fa80e2ea62 to 60a0d343a0d8a18aedee9d34e62251f752153bdb

Bump docker/metadata-action from a64d0487d7069df33b279515d35d60fa80e2ea62 to 60a0d343a0d8a18aedee9d34e62251f752153bdb #72

Workflow file for this run

name: docker
on:
release:
types: [published]
push:
branches:
- main
paths:
- Dockerfile
- .github/workflows/docker.yml
pull_request:
branches:
- main
paths:
- Dockerfile
- .github/workflows/docker.yml
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.7
- name: Log in to Docker Hub
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@60a0d343a0d8a18aedee9d34e62251f752153bdb
with:
images: vectorinstitute/cyclops
- name: Build and push Docker image
uses: docker/build-push-action@1ca370b3a9802c92e886402e0dd88098a2533b12
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}