From eb6469764c732bb0326a14bcd41b7cb794bfe1eb Mon Sep 17 00:00:00 2001 From: Oskar Andersson Date: Mon, 9 Jan 2023 10:22:32 +0100 Subject: [PATCH] Test login to docker hub --- .github/workflows/release.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..66c21294 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: release + +on: + release: + types: [ published ] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + +# - name: Build and push +# uses: docker/build-push-action@v3 +# with: +# push: true +# tags: alu87/pre-commit:latest