configure git & push changes
Some checks failed
Continuous Releases / build (push) Failing after 39s
Some checks failed
Continuous Releases / build (push) Failing after 39s
This commit is contained in:
@@ -27,7 +27,10 @@ jobs:
|
|||||||
- run: echo "${{ steps.bump_version.outputs.next-version }}" > version.txt
|
- run: echo "${{ steps.bump_version.outputs.next-version }}" > version.txt
|
||||||
- name: Read Current Version
|
- name: Read Current Version
|
||||||
run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)"
|
run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)"
|
||||||
|
- run: git config --global user.name "Build Pipeline"
|
||||||
|
- run: git config --global user.email "noreply@example.com"
|
||||||
- run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]" && git tag ${{ env.CURRENT_VERSION }}
|
- run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]" && git tag ${{ env.CURRENT_VERSION }}
|
||||||
|
- run: git push
|
||||||
- run: mkdir -p /etc/secrets || true
|
- run: mkdir -p /etc/secrets || true
|
||||||
- run: printf '%s' "${{ secrets.CI_ACCESS }}" > /etc/secrets/docker.txt
|
- run: printf '%s' "${{ secrets.CI_ACCESS }}" > /etc/secrets/docker.txt
|
||||||
- run: docker login --username ${{ env.GITHUB_ACTOR }} --password-stdin tea.werats.gay < /etc/secrets/docker.txt
|
- run: docker login --username ${{ env.GITHUB_ACTOR }} --password-stdin tea.werats.gay < /etc/secrets/docker.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user