Skip to content

Commit bedba8a

Browse files
committed
More changes requested by copilot
1 parent 53e24bd commit bedba8a

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/main.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,11 @@ jobs:
3939
steps:
4040
- name: Checkout
4141
uses: actions/checkout@v3
42-
- uses: docker/metadata-action@v3
43-
id: metadata
44-
with:
45-
images: ghcr.io/${{ github.repository }}
4642
- name: Determine tag name from branch name
4743
env:
4844
BRANCH_NAME: "${{ github.event.pull_request.head.ref }}"
4945
run: |
50-
echo "DOCKER_IMAGE_TAG::$(${BRANCH_NAME} | cut -d '/' -f 2)" >> $GITHUB_OUTPUT
46+
echo "DOCKER_IMAGE_TAG::$($BRANCH_NAME | cut -d '/' -f 2)" >> $GITHUB_OUTPUT
5147
- name: Kaniko build
5248
uses: aevea/action-kaniko@master
5349
with:
@@ -66,15 +62,11 @@ jobs:
6662
steps:
6763
- name: Checkout
6864
uses: actions/checkout@v3
69-
- uses: docker/metadata-action@v3
70-
id: metadata
71-
with:
72-
images: ghcr.io/${{ github.repository }}
7365
- name: Determine tag name from branch name
7466
env:
7567
TAG_NAME: "${{ github.event.pull_request.head.ref }}"
7668
run: |
77-
echo "DOCKER_IMAGE_TAG::$(${TAG_NAME} | cut -d '/' -f 3)" >> $GITHUB_OUTPUT
69+
echo "DOCKER_IMAGE_TAG::$($TAG_NAME | cut -d '/' -f 3)" >> $GITHUB_OUTPUT
7870
- name: Kaniko build
7971
uses: aevea/action-kaniko@master
8072
with:

0 commit comments

Comments
 (0)