From 50a704246ea01617b33addf84c9925b8ecae3f63 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Tue, 1 Feb 2022 15:39:49 +0100 Subject: [PATCH] build & push --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21e6492..d123b48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,6 +57,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Push image + - name: Build and push latest docker image if: success() && github.ref == 'refs/heads/master' - run: docker push minetestmapserver/mapserver:latest + run: | + docker build . -t minetestmapserver/mapserver:latest + docker push minetestmapserver/mapserver:latest