Skip to content

Commit

Permalink
WIP: Testing Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
nmanoogian committed Jun 3, 2021
1 parent 42246f6 commit acc017d
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/publish-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,8 @@ jobs:
id: extract
run: echo ::set-output name=version::${GITHUB_REF#refs/*/v}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Print Version
run: echo ${{ steps.extract.outputs.version }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: dopplerhq/kubernetes-operator:latest
build-args: |
CONTROLLER_VERSION=${{ steps.extract.outputs.version }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
- name: Print Ref
run: echo ${GITHUB_REF}

0 comments on commit acc017d

Please sign in to comment.