Skip to content

Commit

Permalink
Merge pull request #371 from m-ildefons/ci/fix-environment-var
Browse files Browse the repository at this point in the history
ci: fix namespace for enviroment variable
  • Loading branch information
0xavi0 authored Mar 6, 2023
2 parents d9935de + 3e4e49b commit b8893c0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: docker/build-push-action@v4
with:
push: true
tags: quay.io/s3gw/build-radosgw:${{ vars.GITHUB_REF_NAME }}
tags: quay.io/s3gw/build-radosgw:${{ env.GITHUB_REF_NAME }}
file: tools/build/Dockerfile.build-radosgw
context: tools/build

Expand All @@ -57,7 +57,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: aquarist-labs/ceph
ref: s3gw-${{ vars.GITHUB_REF_NAME }}
ref: s3gw-${{ env.GITHUB_REF_NAME }}
submodules: recursive
path: ceph

Expand All @@ -80,7 +80,7 @@ jobs:
-v $GITHUB_WORKSPACE/ceph:/srv/ceph \
-e NPROC=4 \
-e CMAKE_BUILD_TYPE=Release \
quay.io/s3gw/build--radosgw:${{ vars.GITHUB_REF_NAME }}
quay.io/s3gw/build--radosgw:${{ env.GITHUB_REF_NAME }}
- name: Test On-Disk Format
run: |
Expand All @@ -102,7 +102,7 @@ jobs:
- name: Generate Artifact Identifier
id: artifact_id
run: |
ARTIFACT_ID=radosgw-${{ vars.GITHUB_REF_NAME }}
ARTIFACT_ID=radosgw-${{ env.GITHUB_REF_NAME }}
echo "artifact_id=$ARTIFACT_ID" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
with:
push: true
tags: |
quay.io/s3gw/s3gw:${{ vars.GITHUB_REF_NAME }}
quay.io/s3gw/s3gw:${{ env.GITHUB_REF_NAME }}
quay.io/s3gw/s3gw:latest
file: tools/build/Dockerfile.build-container
context: ceph/build
Expand All @@ -177,7 +177,7 @@ jobs:
CONTAINER=$(docker run --rm -d \
-p 7480:7480
quay.io/s3gw/s3gw:${{ vars.GITHUB_REF_NAME }})
quay.io/s3gw/s3gw:${{ env.GITHUB_REF_NAME }})
wait_for_http_200 "127.0.0.1:7480"
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
with:
push: true
tags: |
quay.io/s3gw/s3gw-ui:${{ vars.GITHUB_REF_NAME }}
quay.io/s3gw/s3gw-ui:${{ env.GITHUB_REF_NAME }}
quay.io/s3gw/s3gw-ui:latest
file: ui/Dockerfile
context: ui
Expand Down

0 comments on commit b8893c0

Please sign in to comment.