Skip to content

Merge pull request #12 from rwese/dependabot/go_modules/golang.org/x/… #143

Merge pull request #12 from rwese/dependabot/go_modules/golang.org/x/…

Merge pull request #12 from rwese/dependabot/go_modules/golang.org/x/… #143

name: Publish Archivar Docker
on:
push:
branches:
- main
- develop
jobs:
build-and-publish-head:
runs-on: [ubuntu-latest]
if: github.ref == 'refs/heads/develop'
steps:
- uses: actions/checkout@v3
- name: Build and Publish head Docker image
uses: VaultVulp/gp-docker-action@1.1.8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
image-name: archivar
image-tag: head
dockerfile: docker/Dockerfile
build-and-publish-latest:
runs-on: [ubuntu-latest]
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- name: Build and Publish latest Docker image
uses: VaultVulp/gp-docker-action@1.1.8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
image-name: archivar
image-tag: latest
dockerfile: docker/Dockerfile
build-context: .