This is an automated email from the ASF dual-hosted git repository.

danwatford pushed a commit to branch experimental-docker
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/experimental-docker by this 
push:
     new b6af48e973 Added: GitHub Actions to build docker image (OFBIZ-12757)
b6af48e973 is described below

commit b6af48e97329d99d50648e0174aaa96dcff5cb12
Author: Daniel Watford <dan...@watfordconsulting.com>
AuthorDate: Tue Feb 28 21:27:20 2023 +0000

    Added: GitHub Actions to build docker image (OFBIZ-12757)
---
 .github/workflows/docker-image.yaml | 46 +++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/.github/workflows/docker-image.yaml 
b/.github/workflows/docker-image.yaml
new file mode 100644
index 0000000000..54e2178011
--- /dev/null
+++ b/.github/workflows/docker-image.yaml
@@ -0,0 +1,46 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# This workflow will check style in OFBiz with its plugins
+# For more information see: https://github.com/actions/setup-java
+
+name: Docker image build
+
+on:
+  push:
+    branches: [ experimental-docker ]
+
+jobs:
+  docker_build:
+    name: Build OFBiz docker container image
+    runs-on: ubuntu-latest
+    steps:
+    - name: Check out OFBiz sources
+      uses: actions/checkout@v3
+
+    - name: Extract metadata (tags, labels) for Docker
+      id: meta
+      uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
+      with:
+        images: apache/ofbiz-framework
+
+    - name: Build Docker image
+      uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
+      with:
+        context: .
+        push: false
+        tags: ${{ steps.meta.outputs.tags }}
+        labels: ${{ steps.meta.outputs.labels }}

Reply via email to