Publish #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Publish" | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout the repository" | |
uses: actions/checkout@v4 | |
- name: "Get addon information and update build args" | |
id: information | |
uses: ./.github/actions/addon-info | |
- name: "Login to GitHub Container Registry" | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: "Publish" | |
uses: home-assistant/builder@master | |
with: | |
args: | | |
--all \ | |
--target rclone_backup \ | |
--image ${{ steps.information.outputs.image }} \ | |
--docker-hub ${{ steps.information.outputs.repository }} |