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
|
- name: load image into podman
|
||||||
run: |
|
run: |
|
||||||
podman load < ${{ steps.pkgs.outputs.pkgs-name }}
|
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
|
- name: publish image
|
||||||
uses: actions/push-to-registry@v2
|
uses: actions/push-to-registry@v2
|
||||||
with:
|
with:
|
||||||
image: git.flyinggecko.org/flyinggecko/oci-images/${{ matrix.container }}
|
image: git.flyinggecko.org/flyinggecko/oci-images/${{ matrix.container }}
|
||||||
tags: ${{ matrix.version }}
|
tags: ${{ matrix.version }}
|
||||||
registry: git.flyinggecko.org
|
registry: git.flyinggecko.org
|
||||||
|
username: flyinggecko
|
||||||
|
password: ${{ secrets.REGISTRY_TOKEN }
|
||||||
|
|
Loading…
Add table
Reference in a new issue