Skip to content

Commit

Permalink
update: change tag to branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
CardinPatson committed Oct 31, 2023
1 parent ca2941d commit 37c323f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/composite/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ runs:
run: sudo -E docker-compose build ${{ inputs.service }}
working-directory: ./multicontainer-k8s
env:
TAG: latest
TAG: master
REGISTRY: ${{ inputs.registry_endpoints }}

- name: Compose push ${{ inputs.service }}
shell: bash
run: sudo -E docker-compose push ${{ inputs.service }}
working-directory: ./multicontainer-k8s
env:
TAG: latest
TAG: master
REGISTRY: ${{ inputs.registry_endpoint }}

- name: Create multiarch manifest
shell: bash
run: |
docker --config ~/.docker manifest create ${{ inputs.registry_endpoint }}/${{ inputs.image_name }}:latest ${{ inputs.registry_endpoint }}/${{ inputs.image_name }}:linux-latest
docker --config ~/.docker manifest push ${{ inputs.registry_endpoint }}/${{ inputs.image_name }}:latest
docker --config ~/.docker manifest create ${{ inputs.registry_endpoint }}/${{ inputs.image_name }}:master ${{ inputs.registry_endpoint }}/${{ inputs.image_name }}:linux-master
docker --config ~/.docker manifest push ${{ inputs.registry_endpoint }}/${{ inputs.image_name }}:master

0 comments on commit 37c323f

Please sign in to comment.