Skip to content

Commit

Permalink
happy days
Browse files Browse the repository at this point in the history
  • Loading branch information
fastfadingviolets committed Jul 11, 2024
1 parent 474e825 commit aa54fad
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Create and publish a Docker image

on:
schedule:
- cron: "*/3 * * * *"
release:
types: [published]
workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Echo!
run: |
echo "${{ steps.meta.outputs.tags }}"
echo "${{ steps.meta.outpus.labels }}"

0 comments on commit aa54fad

Please sign in to comment.