Skip to content

dickerhub

dickerhub #2

Workflow file for this run

name: dickerhub
on:
release:
types:
- published
jobs:
push_to_dockerhub:
name: Push image to dockerhub
runs-on: ubuntu-latest
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images:
ffffuuu/aklapi
tags: |
type=raw,label=latest
type=semver,pattern={{version}}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}