delete unneeded files.
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
name: GitHub Actions Demo
|
||||
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
|
||||
on: [push]
|
||||
jobs:
|
||||
Explore-GitHub-Actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
|
||||
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ github.workspace }}
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
# this file is intended to build the docker image and push to the correct repository. Intended to be run by my buildbot instance.
|
||||
|
||||
# build, tag, and push develop
|
||||
docker build -t viker.cheezers.net:5000/agon:develop .
|
||||
docker push viker.cheezers.net:5000/agon:develop
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
# this file is intended to build the docker image and push to the correct repository. Intended to be run by my buildbot instance.
|
||||
|
||||
# check if there is a git tag. if so, tag with that tag and release
|
||||
# expecting tag to be 6 characters long. otherwise isn't not the right tag
|
||||
GITTAG=$(git describe --tags)
|
||||
length=${#GITTAG}
|
||||
|
||||
if [ $length -eq 6 ]; then
|
||||
docker build -t viker.cheezers.net:5000/agon:release -t viker.cheezers.net:5000/agon:$GITTAG .
|
||||
docker push viker.cheezers.net:5000/agon:release
|
||||
docker push viker.cheezers.net:5000/agon:$GITTAG
|
||||
else
|
||||
docker build -t viker.cheezers.net:5000/agon:release .
|
||||
docker push viker.cheezers.net:5000/agon:release
|
||||
fi
|
||||
Reference in New Issue
Block a user