Skip to content

Remove cache cleanup #7

Remove cache cleanup

Remove cache cleanup #7

Workflow file for this run

name: Publish Docker image
on:
push:
branches:
- "master"
jobs:
push_to_registries:
name: Push Docker image to Dockerhub
runs-on: ubuntu-20.04
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: |
tailordevdockermachine/podPeeper
- name: Build and push Docker images
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: tailordevdockermachine/podpeeper:${{ github.sha }}, tailordevdockermachine/podpeeper:latest
labels: ${{ steps.meta.outputs.labels }}