From 18795891ca072a7ee1e2c2eadfc77c22c927c2cf Mon Sep 17 00:00:00 2001 From: Rob Court Date: Thu, 17 Oct 2024 20:25:18 +0100 Subject: [PATCH] deploying --- .github/workflows/dockerimage.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 37572da..5d2092f 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -11,4 +11,11 @@ jobs: steps: - uses: actions/checkout@v1 - name: Build the Docker image - run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) + run: docker build . --file Dockerfile --tag loadedubuntu:${GITHUB_REF#refs/heads/} + - name: Dockerize + if: success() + uses: manusa/actions-publish-docker@v1.1.2 + with: + name: rcourt/loadedubuntu + username: ${{ secrets.DOCKER_HUB_USER }} + password: ${{ secrets.DOCKER_HUB_PASSWORD }}