Skip to content

Commit

Permalink
Remove SHA and revert to image name
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Nov 4, 2020
1 parent ef559e9 commit f8c20a8
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci-only.yaml
Expand Up @@ -17,28 +17,20 @@ jobs:
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# - name: Login to DockerHub
# uses: docker/login-action@v1
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
# registry: ghcr.io
- name: Local build
id: local_build
uses: docker/build-push-action@v2
with:
outputs: "type=docker,push=false"
platforms: linux/amd64
tags: ghcr.io/alexellis/registry-creds:${{ github.sha }}
- name: Image digest 2
run: echo ${{ steps.local_build.outputs.digest }}
- name: Setup Kubernetes
uses: engineerd/setup-kind@v0.4.0
with:
version: "v0.9.0"
image: kindest/node:v1.18.8
- name: Load test image
run: kind load --loglevel trace docker-image ${{ steps.local_build.outputs.digest }}
run: kind load --loglevel trace docker-image ghcr.io/alexellis/registry-creds:${{ github.sha }}
- name: Apply manifests
run: |
TAG=${{ github.sha }} make shrinkwrap
Expand Down

0 comments on commit f8c20a8

Please sign in to comment.