Skip to content

Commit

Permalink
Remove github container registry step
Browse files Browse the repository at this point in the history
  • Loading branch information
wongma7 committed Dec 9, 2020
1 parent a15cba6 commit 06be76b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/container-image.yaml
Original file line number Diff line number Diff line change
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

0 comments on commit 06be76b

Please sign in to comment.