Skip to content

Commit

Permalink
chore: Update Docker image build and push paths for services in docke…
Browse files Browse the repository at this point in the history
…r-images.yml
  • Loading branch information
cedricdcc committed May 10, 2024
1 parent 8fa857d commit 435f14d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ jobs:
- name: install jq
run: sudo apt-get install jq

- name: Extract all existing tags for the repo
id: get_tags
- name: Extract all existing tags for the repo using gh api
env:
GH-TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "::set-output name=tags::$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/${{ github.repository }}/tags | jq -r '.[].name')"
- name: Build docker images using sha of tags
run: |
echo ${{ steps.get_tags.outputs.tags }}
export TAGS=$(curl -s -H "Authorization: token $GH-TOKEN" https://api.github.com/repos/vlizbe/vocabserver-app/tags | jq -r '.[].name')
echo $TAGS
- name: Build the Docker images and Push them to the registry-namespace indicated in REG_NS
run: |
Expand Down

0 comments on commit 435f14d

Please sign in to comment.