Skip to content

Commit

Permalink
Merge pull request kubearmor#950 from kranurag7/actions
Browse files Browse the repository at this point in the history
update workflows to remove deprecation warnings
  • Loading branch information
nyrahul authored Dec 15, 2022
2 parents d4007b0 + 5fdc25c commit 200e90f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-latest-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
id: vars
run: |
if [ ${{ github.ref }} == "refs/heads/main" ]; then
echo ::set-output name=tag::latest
echo "tag=latest" >> $GITHUB_OUTPUT
else
echo ::set-output name=tag::${GITHUB_REF#refs/*/}
echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
fi
RUNTIME=docker ./contribution/k3s/install_k3s.sh
Expand Down Expand Up @@ -98,9 +98,9 @@ jobs:
if [ ${{ github.ref }} == refs/heads/$value ]; then
docker pull docker.io/kubearmor/kubearmor:$value
docker image tag kubearmor/kubearmor:$value kubearmor/kubearmor:stable
echo ::set-output name=tag::true
echo "tag=true" >> $GITHUB_OUTPUT
else
echo ::set-output name=tag::false
echo "tag=false" >> $GITHUB_OUTPUT
fi
- name: Login to Docker Hub
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Setup a Kubernetes environment
id: vars
run: |
echo ::set-output name=tag::latest
echo "tag=latest" >> $GITHUB_OUTPUT
RUNTIME=docker ./contribution/k3s/install_k3s.sh
- name: Generate KubeArmor artifacts
Expand Down

0 comments on commit 200e90f

Please sign in to comment.