distrobox #32
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
# This is free and unencumbered software released into the public domain. | |
name: distrobox | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: 0 0 * * 0 | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: login | |
run: podman login ghcr.io --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} | |
- name: build | |
run: podman build --file distrobox/containerfile --tag ghcr.io/ngarside/distrobox:latest distrobox | |
- name: push | |
run: podman push ghcr.io/ngarside/distrobox:latest |