Skip to content

Commit

Permalink
ci: clean GHA images.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
1138-4EB committed Dec 1, 2019
1 parent 157fae6 commit b4c0d75
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,14 @@ jobs:
run: |
./.github/images.sh
- name: docker login
run: echo "$GITHUB_TOKEN" | docker login -u vunit-gha --password-stdin "$DOCKER_REGISTRY"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login -u vunit-gha --password-stdin "$DOCKER_REGISTRY"
- name: docker push
if: github.repository == 'VUnit/vunit'
run: |
DIMG="vunit/dev:$TAG"
DIMG="vunit/dev:${{ matrix.task.tag }}"
GHIMG="${DOCKER_REGISTRY}/vunit/$DIMG"
docker tag "$DIMG" "$GHIMG"
docker push "$GHIMG"
env:
TAG: ${{ matrix.task.tag }}
- name: docker logout
run: docker logout "$DOCKER_REGISTRY"
if: always()

0 comments on commit b4c0d75

Please sign in to comment.