From 31fd0b41d41ba3938cbfb96f8300ecd130292121 Mon Sep 17 00:00:00 2001 From: Brandon Fulljames Date: Tue, 13 Dec 2022 22:08:11 +0900 Subject: [PATCH] Add docker build for latest --- .github/workflows/docker.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/docker.yaml diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml new file mode 100644 index 0000000..13d319f --- /dev/null +++ b/.github/workflows/docker.yaml @@ -0,0 +1,28 @@ +# Reference: +# https://github.com/marketplace/actions/build-and-push-docker-images +name: docker + +on: + push: + branches: + - 'main' + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - + name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_API_KEY }} + - + name: Build and push + uses: docker/build-push-action@v3 + with: + push: true + tags: evertras/cynomys:latest