Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Change image tag format for new deployment process
Russ Garrett9bde1cc02c72
diff --git a/.github/workflows/web-backend.yml b/.github/workflows/web-backend.ymlindex b39cdc9..b960e97 100644--- a/.github/workflows/web-backend.yml+++ b/.github/workflows/web-backend.yml@@ -9,20 +9,12 @@ on:jobs:build:+ env:+ IMAGE: ghcr.io/openinframap/web-backendruns-on: ubuntu-lateststeps:- name: Checkoutuses: actions/checkout@v2- - name: Docker meta- id: meta- uses: docker/metadata-action@v3- with:- images: |- ghcr.io/openinframap/web-backend- flavor: |- latest=true- tags: |- type=sha- name: Login to GitHub Container Registryuses: docker/login-action@v1with:@@ -36,5 +28,5 @@ jobs:context: ./web-backendfile: ./web-backend/Dockerfilepush: true- tags: ${{ steps.meta.outputs.tags }}- labels: ${{ steps.meta.outputs.labels }}+ tags: |+ ${{ env.IMAGE }}:${{ github.sha }}-${{ github.run_number }}diff --git a/.github/workflows/web.yml b/.github/workflows/web.ymlindex 1b4ef4d..26652db 100644--- a/.github/workflows/web.yml+++ b/.github/workflows/web.yml@@ -9,20 +9,12 @@ on:jobs:login:+ env:+ IMAGE: ghcr.io/openinframap/webruns-on: ubuntu-lateststeps:- name: Checkoutuses: actions/checkout@v2- - name: Docker meta- id: meta- uses: docker/metadata-action@v3- with:- images: |- ghcr.io/openinframap/web- flavor: |- latest=true- tags: |- type=sha- name: Login to GitHub Container Registryuses: docker/login-action@v1with:@@ -36,5 +28,5 @@ jobs:context: ./webfile: ./web/Dockerfile.prodpush: true- tags: ${{ steps.meta.outputs.tags }}- labels: ${{ steps.meta.outputs.labels }}+ tags: |+ ${{ env.IMAGE }}:${{ github.sha }}-${{ github.run_number }}