|
@ -22,13 +22,11 @@ jobs: |
|
|
- name: Check out from Git |
|
|
- name: Check out from Git |
|
|
uses: actions/checkout@v2 |
|
|
uses: actions/checkout@v2 |
|
|
- name: Test env |
|
|
- name: Test env |
|
|
run: echo "action_state=yellow" >> $GITHUB_ENV |
|
|
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV |
|
|
- name: Test env 2 |
|
|
- name: Test print env |
|
|
run: echo "$action_state" |
|
|
run: | |
|
|
- name: Git tag |
|
|
echo $RELEASE_TAG |
|
|
run: echo "head_tag=$(git tag --points-at HEAD)" >> $GITHUB_ENV |
|
|
echo ${{ env.RELEASE_TAG }} |
|
|
- name: Test git tag |
|
|
|
|
|
run: echo "$head_tag" |
|
|
|
|
|
- name: Login to Docker Hub |
|
|
- name: Login to Docker Hub |
|
|
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin |
|
|
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin |
|
|
- name: Checkout project |
|
|
- name: Checkout project |
|
|