Skip to content

Commit

Permalink
Fix docker push
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Dec 15, 2021
1 parent 9472545 commit ad75225
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bionic_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
suffix=
tags: |
type=ref,event=branch,prefix=${{ env.ROS_DISTRO }}-
type=pep440,pattern={{version}},prefix=${{ env.ROS_DISTRO }}-
type=pep440,pattern={{major}}.{{minor}},prefix=${{ env.ROS_DISTRO }}-
type=semver,pattern={{version}},prefix=${{ env.ROS_DISTRO }}-
type=semver,pattern={{major}}.{{minor}},prefix=${{ env.ROS_DISTRO }}-
- name: Set build type
run: |
Expand Down Expand Up @@ -100,4 +100,4 @@ jobs:

- name: Push post-build Docker
if: ${{ env.PUSH_DOCKER_IMAGE == 'true' }}
run: docker push ${{ steps.meta.outputs.tags }}
run: for tag in ${{ steps.meta.outputs.tags }}; do docker push $tag; done
8 changes: 4 additions & 4 deletions .github/workflows/focal_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
suffix=
tags: |
type=ref,event=branch,prefix=${{ env.ROS_DISTRO }}-
type=pep440,pattern={{version}},prefix=${{ env.ROS_DISTRO }}-
type=pep440,pattern={{major}}.{{minor}},prefix=${{ env.ROS_DISTRO }}-
type=semver,pattern={{version}},prefix=${{ env.ROS_DISTRO }}-
type=semver,pattern={{major}}.{{minor}},prefix=${{ env.ROS_DISTRO }}-
- name: Set build type
run: |
Expand Down Expand Up @@ -100,5 +100,5 @@ jobs:
DOCKER_COMMIT: ${{ steps.meta.outputs.tags }}

- name: Push post-build Docker
if: ${{ env.PUSH_DOCKER_IMAGE == 'true' }}
run: docker push ${{ steps.meta.outputs.tags }}
if: ${{ env.PUSH_DOCKER_IMAGE == 'true' }}
run: for tag in ${{ steps.meta.outputs.tags }}; do docker push $tag; done

0 comments on commit ad75225

Please sign in to comment.