-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (25 loc) · 893 Bytes
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Build and push Docker image
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
name: Build and push a Docker image
steps:
- uses: actions/checkout@master
- name: Set up Docker Buildx for Multi-Arch Build
uses: docker/setup-buildx-action@v3
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: laxsrbija/chore-manager
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
tags: "latest"
platforms: linux/amd64,linux/arm64
- name: Publish readme to DockerHub
uses: ms-jpq/sync-dockerhub-readme@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: laxsrbija/chore-manager
readme: "./README.md"