Skip to content

Commit

Permalink
Test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
isarkis committed Sep 6, 2024
1 parent 2a2a3ee commit 8fb21bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ inputs.platform }} @ ${{ github.event.label.name || github.event.pull_request.number || github.sha }} @ ${{ github.event.label.name && github.event.pull_request.number || github.event.action }}
cancel-in-progress: true


# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# Retrieves configuration from json file.
Expand Down Expand Up @@ -110,15 +109,15 @@ jobs:
echo "FLOATING_TAG=${tag}" >> $GITHUB_ENV
# Handle GitHub registry used for everything other than pull requests off forked repos.
- name: Login to GitHub Docker Registry ${{env.GITHUB_REGISTRY}}
if: ${{ (github.event_name != 'pull_request') || (github.event.pull_request.head.repo.full_name == github.repository) }}
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
with:
registry: ${{ env.GITHUB_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set Docker Tag
id: set-docker-tag-github
if: ${{ (github.event_name != 'pull_request') || (github.event.pull_request.head.repo.full_name == github.repository) }}
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
run: |
echo "DOCKER_TAG=${GITHUB_REGISTRY}/${{ github.repository }}/${DOCKER_SERVICE}:${FULL_GIT_SHA::7}" >> $GITHUB_ENV
echo "DOCKER_FLOATING_TAG=${GITHUB_REGISTRY}/${{ github.repository }}/${DOCKER_SERVICE}:${FLOATING_TAG}" >> $GITHUB_ENV
Expand Down Expand Up @@ -193,4 +192,4 @@ jobs:
uses: ./src/.github/actions/build
with:
targets: ${{ needs.initialize.outputs.targets }}


0 comments on commit 8fb21bc

Please sign in to comment.