Skip to content

Commit

Permalink
ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
illinoisrobert committed Aug 5, 2024
1 parent d0c11f4 commit 4fd0434
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Branch name
id: branch_name
run: |
echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand All @@ -30,4 +23,4 @@ jobs:

- uses: actions/checkout@v4
- name: Build the Docker image
run: cd beta && ./docker-build.sh test ${{ steps.branch_name.outputs.SOURCE_TAG }}
run: cd beta && ./docker-build.sh test $GITHUB_REF_NAME

0 comments on commit 4fd0434

Please sign in to comment.