From 0e71702f9afb22cc433787ac76d29f2ae59255d1 Mon Sep 17 00:00:00 2001 From: Samuel Sciolla Date: Mon, 8 Apr 2024 14:24:26 -0400 Subject: [PATCH] Update checkout; remove buildx; add latest tag --- .github/workflows/build-image.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 8a1ba10..e161d0b 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -13,10 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Login to GitHub Container Registry uses: docker/login-action@v1 @@ -30,5 +29,7 @@ jobs: with: context: . push: true - tags: "ghcr.io/mlibrary/bag-courier:${{ github.sha }}" + tags: | + ghcr.io/mlibrary/bag-courier:latest + ghcr.io/mlibrary/bag-courier:${{ github.sha }} file: ./Dockerfile