1
0
mirror of https://github.com/garraflavatra/docker-volume-s3-backup.git synced 2025-05-17 13:14:38 +00:00

tag images properly

This commit is contained in:
Elliott Shugerman 2021-12-12 13:58:06 -05:00
parent 25f6415c1f
commit ba4bd19d23

View File

@ -1,4 +1,4 @@
name: Build and push images name: build and push images
on: on:
push: push:
branches: ['master'] branches: ['master']
@ -9,6 +9,7 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- { postgres: 9, alpine: '3.6' }
- { postgres: 10, alpine: '3.8' } - { postgres: 10, alpine: '3.8' }
- { postgres: 11, alpine: '3.10' } - { postgres: 11, alpine: '3.10' }
- { postgres: 12, alpine: '3.12' } - { postgres: 12, alpine: '3.12' }
@ -29,6 +30,6 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: ${{ github.repository }}:9 tags: ${{ github.repository }}:{{ matrix.postgres }}
build-args: | build-args: |
ALPINE_VERSION=${{ matrix.alpine }} ALPINE_VERSION=${{ matrix.alpine }}