still trying to get CI builds going

This commit is contained in:
Neale Pickett 2020-09-18 13:12:54 -06:00
parent e6492b31ba
commit 47487b61d0
1 changed files with 23 additions and 30 deletions

View File

@ -22,40 +22,33 @@ jobs:
- name: Retrieve code - name: Retrieve code
uses: actions/checkout@v1 uses: actions/checkout@v1
- name: Push latest to GitHub Packages - name: Login to GitHub Packages Docker Registry
uses: docker/build-push-action@v2 uses: docker/login-action@v1
with: with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
target: moth
file: build/package/Containerfile
registry: docker.pkg.github.com registry: docker.pkg.github.com
repository: dirtbags/moth/moth:latest username: ${{ github.repository_owner }}
- name: Push moth-devel to GitHub Packages
uses: docker/build-push-action@v2
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
target: moth-devel
file: build/package/Containerfile
registry: docker.pkg.github.com
repository: dirtbags/moth/moth-devel:latest
- name: Push moth to Docker Hub - name: Login to DockerHub
uses: docker/build-push-action@v2 uses: docker/login-action@v1
with: with:
username: neale username: neale
password: ${{ secrets.DOCKER_TOKEN }} password: ${{ secrets.DOCKER_TOKEN }}
target: moth
file: build/packages/Containerfile
repository: dirtbags/moth:latest
- name: Push moth-devel to Docker Hub - name: Build and push moth image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
username: neale target: moth
password: ${{ secrets.DOCKER_TOKEN }} file: build/package/Containerfile
target: moth-devel tags:
file: build/packages/Containerfile - dirtbags/moth:latest
repository: dirtbags/moth-devel:latest - docker.pkg.github.com/dirtbags/moth/moth:latest
- name: Build and push moth-devel image
uses: docker/build-push-action@v2
with:
target: moth
file: build/package/Containerfile
tags:
- dirtbags/moth-devel:latest
- docker.pkg.github.com/dirtbags/moth/moth-devel:latest