Unverified Commit 0a4255e4 by Edward Thomson Committed by GitHub

Update main.yml

parent 06e0abe1
...@@ -7,7 +7,12 @@ on: ...@@ -7,7 +7,12 @@ on:
branches: [ master ] branches: [ master ]
jobs: jobs:
build_container: build_containers:
strategy:
matrix:
container:
- { name: xenial, base: ubuntu-xenial }
- { name: bionic, base: ubuntu-bionic }
name: Build docker image name: Build docker image
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
...@@ -17,7 +22,7 @@ jobs: ...@@ -17,7 +22,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Calculate image label - name: Calculate image label
run: | run: |
echo "::set-env name=docker-label::libgit2-$(git log -1 --pretty=format:"%h" -- azure-pipelines/docker)" echo "::set-env name=docker-label::test2-$(git log -1 --pretty=format:"%h" -- azure-pipelines/docker)"
- name: Log in to GitHub Packages - name: Log in to GitHub Packages
run: | run: |
docker login https://docker.pkg.github.com -u ${{github.actor}} -p ${{github.token}} docker login https://docker.pkg.github.com -u ${{github.actor}} -p ${{github.token}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment