Skip to content

Commit

Permalink
Merge pull request #644 from wongma7/helm-workflow
Browse files Browse the repository at this point in the history
Remove helm chart step from release github workflow and github registry step from container images workflow
  • Loading branch information
wongma7 committed Dec 9, 2020
2 parents b013566 + 06be76b commit f541380
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/container-image.yaml
Expand Up @@ -44,28 +44,6 @@ jobs:
TAG=$BRANCH
fi
echo "TAG=$TAG" >> $GITHUB_ENV
- name: Login to GitHub
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Push debian target to GitHub
run: |
DEB_PUSH_TAG="docker.pkg.github.com/$GITHUB_REPOSITORY/$IMAGE:$TAG"
docker buildx build \
-t $DEB_PUSH_TAG \
--platform=linux/arm64,linux/amd64 \
--output="type=image,push=true" . \
--target=debian-base
- name: Push amazonlinux target to GitHub
run: |
AL2_PUSH_TAG="docker.pkg.github.com/$GITHUB_REPOSITORY/$IMAGE:$TAG-amazonlinux"
docker buildx build \
-t $AL2_PUSH_TAG \
--platform=linux/arm64,linux/amd64 \
--output="type=image,push=true" . \
--target=amazonlinux
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/release.yaml
Expand Up @@ -3,17 +3,12 @@ on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Create Helm chart
run: |
tar cvzf helm-chart.tgz aws-ebs-csi-driver
- name: Create Release
id: create-release
uses: actions/create-release@v1
Expand Down

0 comments on commit f541380

Please sign in to comment.