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