Skip to content

Commit

Permalink
ci: Build and publish dev image
Browse files Browse the repository at this point in the history
* Remove redundent docker publish workflow.
* Add instructions to build and publish dev docker image.
* Rename build-base workflow.
  • Loading branch information
kesara committed Aug 9, 2022
1 parent 91e2711 commit 06b8933
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 103 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Build Base Docker Image
name: Build Docker Images

on:
push:
branches:
- 'main'
paths:
- 'docker/base.Dockerfile'
- 'docker/dev.Dockerfile'

workflow_dispatch:

Expand All @@ -32,11 +33,20 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker Build & Push
- name: Base image - Docker Build & Push
uses: docker/build-push-action@v3
with:
context: .
file: docker/base.Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/ietf-tools/xml2rfc-base:latest

- name: Dev image - Docker Build & Push
uses: docker/build-push-action@v3
with:
context: .
file: docker/dev.Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/ietf-tools/xml2rfc-dev:latest
101 changes: 0 additions & 101 deletions .github/workflows/docker-publish.yml

This file was deleted.

0 comments on commit 06b8933

Please sign in to comment.