mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
github_actions: Push tagged images
This commit is contained in:
parent
e37ca78f82
commit
8896857839
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -58,4 +58,6 @@ jobs:
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
|
||||
docker image push dockcross/${{ matrix.arch_name }}
|
||||
docker image push dockcross/${{ matrix.arch_name }}:latest
|
||||
tagged_image=$(docker images --filter 'reference=dockcross/${{ matrix.arch_name }}:20*' --format "{{.Repository}}:{{.Tag}}" | head -n1)
|
||||
docker image push ${tagged_image}
|
||||
|
Loading…
Reference in New Issue
Block a user