Skip to content

Commit

Permalink
ci: don't push moving edge tag to container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Feb 17, 2024
1 parent fd8498d commit 3f78518
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ jobs:
curl -X POST -H 'X-Image-Format: svg' -i 'http://127.0.0.1:3000/' --data '{"title": {"text": "ECharts entry example"}, "tooltip": {}, "legend": {"data": ["Sales"]}, "backgroundColor": "#ffffff", "xAxis": {"data": ["shirt","cardigan","chiffon shirt","pants","heels","socks"]}, "yAxis": {}, "series": [{"name": "Sales","type": "bar", "data": [5,20,36,10,10,20] }]}'
echo -e "\nStopping container ..."
docker stop -t 1 "$CONTAINER_ID"
- name: Push Docker image (edge) to registry
run: |
IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/echarts-node-export-server/echarts-node-export-server:edge
docker tag exportapp "$IMAGE_NAME"
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker push "$IMAGE_NAME"
docker logout ghcr.io
- name: Push Docker image (versioned tag) to registry
run: |
VERSION=$(git describe --always)
Expand Down

0 comments on commit 3f78518

Please sign in to comment.