Actions: login and push in one step
This commit is contained in:
parent
02cc15954b
commit
4e27b1ecdc
1 changed files with 2 additions and 6 deletions
|
@ -31,15 +31,11 @@ jobs:
|
|||
- name: load image into podman
|
||||
run: |
|
||||
podman load < ${{ steps.pkgs.outputs.pkgs-name }}
|
||||
- name: login to container registry
|
||||
uses: actions/podman-login@v1
|
||||
with:
|
||||
registry: git.flyinggecko.org
|
||||
username: flyinggecko
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- name: publish image
|
||||
uses: actions/push-to-registry@v2
|
||||
with:
|
||||
image: git.flyinggecko.org/flyinggecko/oci-images/${{ matrix.container }}
|
||||
tags: ${{ matrix.version }}
|
||||
registry: git.flyinggecko.org
|
||||
username: flyinggecko
|
||||
password: ${{ secrets.REGISTRY_TOKEN }
|
||||
|
|
Loading…
Add table
Reference in a new issue